/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2F2F2F;
    overflow-x: hidden;
}

/* Variáveis CSS */
:root {
    --primary-color: #7A925F;
    --primary-hover: #6B8052;
    --dark-bg: #2F2F2F;
    --light-bg: #F1EFE7;
    --accent-color: #E8DCC4;
    --text-dark: #2F2F2F;
    --text-light: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #2F2F2F;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: none;
    height: 80px;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 65px;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: white;
    font-family: 'League Spartan', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

/* Botões */
.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 8px 24px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    height: 40px;
    min-width: 130px;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: var(--dark-bg);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #3a3a3a 100%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8dcc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.store-badge {
    height: 50px;
    width: auto;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.store-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-mockups {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

/* Phone Mockups */
.phone-mockup {
    width: 200px;
    height: 400px;
    background: #000;
    border-radius: 25px;
    padding: 10px;
    box-shadow: var(--shadow-hover);
    animation: float 3s ease-in-out infinite;
}

.main-mockup {
    animation-delay: 0s;
    z-index: 2;
}

.secondary-mockup {
    animation-delay: 1s;
    z-index: 1;
    transform: scale(0.8);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-preview, .whatsapp-preview {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.preview-content {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Value Propositions */
.value-prop {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: var(--light-bg);
}

.value-prop.alt {
    background: var(--light-bg);
}

.value-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-prop.alt .value-container {
    grid-template-columns: 1fr 1fr;
}

.value-content h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.value-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* iPhone Mockups Detalhados */
.iphone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 8px;
    box-shadow: var(--shadow-hover);
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.status-bar {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.app-header {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem;
    text-align: center;
}

.app-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Interface do App - Cadastro Automático */
.auto-register {
    padding: 1rem;
}

.transaction-list {
    margin: 1rem 0;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    position: relative;
    animation: fadeInUp 0.5s ease-out;
}

.transaction-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.transaction-details {
    flex: 1;
}

.transaction-details p {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.transaction-details span {
    color: var(--primary-color);
    font-weight: 700;
}

.auto-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.integration-badge {
    background: #e3f2fd;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #1976d2;
}

.webhook-indicator {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
    margin-left: 0.5rem;
    animation: pulse 1s infinite;
}

/* Interface WhatsApp */
.whatsapp-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.whatsapp-header {
    background: #075e54;
    color: #fff;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.contact-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    background: #e5ddd5;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    max-width: 80%;
    animation: fadeInUp 0.3s ease-out;
}

.message.received {
    background: #fff;
    margin-right: auto;
    border-bottom-left-radius: 2px;
}

.message.sent {
    background: #dcf8c6;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.message p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.message span {
    font-size: 0.7rem;
    opacity: 0.6;
    float: right;
}

.suggestion-buttons {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.suggestion-buttons button {
    padding: 0.3rem 0.6rem;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.confirm {
    background: #4caf50;
    color: #fff;
}

.change {
    background: #ff9800;
    color: #fff;
}

/* Interface Split */
.split-view {
    padding: 1rem;
}

.transaction-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.transaction-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.split-participants {
    margin-bottom: 1.5rem;
}

.participant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.participant .avatar {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}

.participant .amount {
    font-weight: 700;
    color: var(--primary-color);
}

.balance-info {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.negative {
    color: #dc3545;
}

.positive {
    color: #28a745;
}

.split-button {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Interface IA Decisões */
.ai-decisions {
    padding: 1rem;
}

.ai-suggestions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suggestion-card {
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    gap: 0.8rem;
    animation: fadeInUp 0.5s ease-out;
}

.suggestion-card.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.suggestion-card.positive {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.suggestion-card.neutral {
    background: #e2e3e5;
    border-left: 4px solid #6c757d;
}

.suggestion-icon {
    font-size: 1.5rem;
}

.suggestion-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.suggestion-content p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* FAQ Section */
.faq {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 4rem 0 6rem 0;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: rgba(232, 220, 196, 0.1);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(232, 220, 196, 0.2);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

/* Manifesto Section */
.manifesto {
    background: var(--light-bg);
    padding: 6rem 0;
    color: var(--text-dark);
}

.manifesto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.manifesto-content h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.manifesto-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.manifesto-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.founders-photos {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.founder-photo {
    width: 200px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 3px solid var(--accent-color);
    transition: var(--transition);
}

.founder-photo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4c5a9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

.founder-1 {
    animation: float 3s ease-in-out infinite;
}

.founder-2 {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Waitlist Section */
.waitlist {
    background: var(--dark-bg);
    color: var(--text-light);
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.waitlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #3a3a3a 100%);
    z-index: -1;
}

.waitlist-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.waitlist-container h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8dcc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.email-form {
    width: 100%;
}

.form-group {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.email-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 160px; /* Espaço para o botão sobreposto */
    border: 1px solid rgba(232, 220, 196, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    outline: none;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(122, 146, 95, 0.2);
}

.btn-waitlist {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    white-space: nowrap;
    z-index: 2;
}

.btn-waitlist:hover {
    background: var(--primary-hover);
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Estado clicado - animação do campo de email */
.form-group.clicked {
    justify-content: center; /* Centralizar o conjunto */
    max-width: 60px; /* Largura para elementos quadrados maiores */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-group.clicked .email-input {
    /* Campo quadrado maior: 60x60px */
    width: 52px; 
    height: 52px;
    padding: 1rem; /* Padding uniforme para manter proporção */
    overflow: hidden; /* Ocultar conteúdo que extrapola */
    text-overflow: ellipsis; /* Adicionar ... se o texto for muito longo */
    white-space: nowrap; /* Manter texto em uma linha */
    text-align: center; /* Centralizar texto */
    transition: all 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-group.clicked .btn-waitlist {
    /* Botão quadrado maior: 60x60px com texto oculto */
    width: 56px;
    height: 56px;
    padding: 1rem; /* Padding uniforme */
    right: 2px; /* Alinhar à direita do container */
    font-size: 0; /* Ocultar texto completamente */
    text-indent: -9999px; /* Mover texto para fora da área visível */
    overflow: hidden; /* Ocultar qualquer conteúdo que extrapole */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkmark icon após clicar */
.form-group.clicked .btn-waitlist::before {
    content: '✅'; /* Alternativas: ✓ ✔ ✔️ ☑ ☑️ ✅ ⟿ → */
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    text-indent: 0; /* Reset text-indent para o ícone aparecer */
    line-height: 1;
}

/* Mensagem de sucesso */
.success-message {
    color: var(--light-bg); /* Cor do fundo claro */
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: none;
    background: none;
}

/* Partículas flutuantes */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Partículas flutuantes para seção hero */
.hero .floating-particles {
    z-index: 1; /* Acima do fundo mas abaixo do conteúdo */
}

/* Chevron de scroll */
.scroll-chevron {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(232, 220, 196, 0.8);
    cursor: pointer;
    z-index: 10;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: pulse-chevron 2s ease-in-out infinite;
}

.scroll-chevron:hover {
    color: var(--accent-color);
    background: rgba(232, 220, 196, 0.1);
    transform: translateX(-50%) scale(1.1);
}

.scroll-chevron svg {
    display: block;
    width: 32px;
    height: 32px;
}

@keyframes pulse-chevron {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px);
    }
}

.particle {
    position: absolute;
    background: rgba(232, 220, 196, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) translateX(var(--random-x)) rotate(360deg);
        opacity: 0;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    .hero-container,
    .value-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .value-content h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-mockups {
        order: -1;
    }
    
    .iphone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .phone-mockup {
        width: 150px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .value-content h2 {
        font-size: 1.8rem;
    }
    
    .iphone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .nav-container {
        padding: 1rem;
    }
}