/* Reset básico e fontes */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', sans-serif;
    line-height: 1.6;
    color: #3c4043;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: #ef5d28;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}


/* Navbar */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #fff;
    border-bottom: 1px solid #dadce0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo .google-logo-img {
    height: 24px;
    margin-right: 8px;
}

.logo span {
    font-size: 22px;
    color: #5f6368;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #5f6368;
    font-weight: 500;
    font-size: 14px;
}

.nav-links a:hover {
    color: #ef5d28;
}

.nav-actions .btn {
    margin-left: 15px;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #ef5d28;
    color: #fff;
}

.btn-primary:hover {
    background-color: #d85424;
}

.btn-secondary {
    color: #ef5d28;
    border-color: #dadce0;
}

.btn-secondary:hover {
    background-color: #f8f9fa;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .material-icons {
    font-size: 28px;
    color: #5f6368;
}


/* Hero Section */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    background-color: #f8f9fa;
    min-height: calc(100vh - 70px);
}

.hero-content {
    max-width: 550px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #202124;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #5f6368;
}

.btn-large {
    padding: 12px 30px;
    font-size: 16px;
}

.hero-image img {
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}


/* Features Section */

.features {
    padding: 60px 80px;
    text-align: center;
}

.features h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #202124;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.feature-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
}

.feature-item .feature-icon {
    font-size: 36px;
    color: #ef5d28;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #202124;
}

.feature-item p {
    font-size: 14px;
    color: #5f6368;
}


/* Plans Section */

.plans {
    padding: 60px 80px;
    background-color: #f8f9fa;
    text-align: center;
}

.plans h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #202124;
}

.plan-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.plan-card {
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 30px;
    width: 320px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card.recommended {
    border-color: #ef5d28;
    border-width: 2px;
}

.badge-recommended {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ef5d28;
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.plan-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.plan-card ul {
    margin: 20px 0;
    text-align: left;
    padding-left: 20px;
}

.plan-card ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #5f6368;
}

.btn-outline {
    color: #ef5d28;
    border: 1px solid #ef5d28;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}

.btn-outline:hover {
    background-color: #fef0e9;
}


/* Footer */

footer {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-top: 1px solid #dadce0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #5f6368;
    flex-wrap: wrap;
}

.footer-links a {
    margin-right: 15px;
    color: #5f6368;
}

.footer-links a:hover {
    text-decoration: underline;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector .material-icons {
    margin-right: 5px;
    font-size: 16px;
}

.language-selector select {
    border: none;
    background-color: transparent;
    color: #5f6368;
    font-size: 12px;
    padding: 5px;
    cursor: pointer;
}


/* Media Queries */

@media (max-width: 992px) {
    .nav-links,
    .nav-actions .btn {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .navbar {
        padding: 15px 20px;
    }
    .hero {
        flex-direction: column-reverse;
        padding: 40px 20px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-image img {
        margin-bottom: 30px;
        max-width: 80%;
    }
    .features,
    .plans {
        padding: 40px 20px;
    }
    .features h2,
    .plans h2 {
        font-size: 28px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .plan-cards {
        flex-direction: column;
        align-items: center;
    }
    .plan-card {
        width: 90%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
}


/* Added style for new sections */

.single-column-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: #5f6368;
    font-size: 16px;
}


/* --- UPDATED STYLES FOR HORIZONTAL WORKFLOW --- */

.workflow-wrapper {
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    /* Changed background */
    padding: 25px;
    /* Adjusted padding */
    overflow-x: auto;
    border-radius: 12px;
    /* Rounded corners */
    border: 1px solid #dadce0;
    /* Added border */
    display: flex;
    justify-content: flex-start;
    /* FIX: Starts container from the left */
}

.flow-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    /* Adjusted gap */
    padding-bottom: 15px;
    /* Add padding to avoid scrollbar overlap */
}

.node {
    background: #ef5d28;
    /* Changed to main theme color */
    color: white;
    padding: 20px;
    border-radius: 12px;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Softer shadow */
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 600;
}

.node:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    /* Enhanced hover shadow */
}

.arrow {
    width: 50px;
    /* Adjusted size */
    height: 2px;
    background: #b0b0b0;
    /* Softer color */
    align-self: center;
    position: relative;
}

.arrow:after {
    content: '';
    position: absolute;
    right: -8px;
    top: -6px;
    border-left: 10px solid #b0b0b0;
    /* Softer color */
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.details {
    display: none;
    margin-top: 15px;
    /* More space */
    background: #fff;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid #eee;
    font-weight: 400;
    /* Regular font weight for details */
}

.subnode {
    background: #d85424;
    /* Darker shade of main color */
    color: white;
    margin-top: 8px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.subdetails {
    display: none;
    margin-top: 5px;
    margin-left: 10px;
    padding: 8px 10px;
    background: #f8f9fa;
    /* Consistent light background */
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid #ef5d28;
    /* Accent border */
    /* ... (todos os estilos anteriores) ... */
    /* --- STYLES FOR NEW DATA EXPLORER SECTION --- */
    .explorer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }
    .explorer-chips {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .chip {
        padding: 10px 25px;
        font-family: 'Google Sans', sans-serif;
        font-size: 14px;
        font-weight: 500;
        border-radius: 20px;
        border: 1px solid #dadce0;
        background-color: #fff;
        color: #3c4043;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }
    .chip:hover {
        border-color: #ef5d28;
        background-color: #fef0e9;
    }
    .chip.active {
        background-color: #ef5d28;
        color: #fff;
        border-color: #ef5d28;
    }
    .explorer-card {
        background-color: #202124;
        /* Dark background for code */
        color: #e8eaed;
        border-radius: 12px;
        width: 100%;
        max-width: 800px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: max-height 0.5s ease-out, opacity 0.5s ease-out, transform 0.5s ease-out;
    }
    .explorer-card.visible {
        max-height: 1000px;
        /* Large enough to fit content */
        opacity: 1;
        transform: translateY(0);
        margin-top: 10px;
    }
    .explorer-card pre {
        margin: 0;
        padding: 25px;
        white-space: pre-wrap;
        /* Wrap long lines */
        word-wrap: break-word;
    }
    .explorer-card code {
        font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
        font-size: 14px;
        line-height: 1.5;
    }
    /* Syntax Highlighting Styles */
    .json-key {
        color: #f28b82;
    }
    /* Red */
    .json-string {
        color: #a5d6a7;
    }
    /* Green */
    .json-number {
        color: #82b1ff;
    }
    /* Blue */
    .json-boolean {
        color: #ffab40;
    }
    /* Orange */
    .json-null {
        color: #ce93d8;
    }
    /* Purple */
}


/* ... (todos os estilos anteriores) ... */


/* --- STYLES FOR NEW DATA EXPLORER SECTION --- */

.explorer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.explorer-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.chip {
    padding: 10px 25px;
    font-family: 'Google Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid #dadce0;
    background-color: #fff;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.chip:hover {
    border-color: #ef5d28;
    background-color: #fef0e9;
}

.chip.active {
    background-color: #ef5d28;
    color: #fff;
    border-color: #ef5d28;
}

.explorer-card {
    background-color: #202124;
    color: #e8eaed;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    /* Mantido como hidden para o estado fechado */
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, transform 0.5s ease-out;
}

.explorer-card.visible {
    max-height: 70vh;
    /* CORREÇÃO: Usa altura da tela para ser responsivo */
    opacity: 1;
    transform: translateY(0);
    margin-top: 10px;
    overflow-y: auto;
    /* CORREÇÃO: Adiciona barra de rolagem se o conteúdo for maior */
}

.explorer-card pre {
    margin: 0;
    padding: 25px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.explorer-card code {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
}


/* Estilos para a barra de rolagem moderna */

.explorer-card.visible::-webkit-scrollbar {
    width: 8px;
}

.explorer-card.visible::-webkit-scrollbar-track {
    background: #202124;
}

.explorer-card.visible::-webkit-scrollbar-thumb {
    background-color: #5f6368;
    border-radius: 10px;
    border: 2px solid #202124;
}


/* Syntax Highlighting Styles */

.json-key {
    color: #f28b82;
}


/* Red */

.json-string {
    color: #a5d6a7;
}


/* Green */

.json-number {
    color: #82b1ff;
}


/* Blue */

.json-boolean {
    color: #ffab40;
}


/* Orange */

.json-null {
    color: #ce93d8;
}


/* For WhY Abaixo */


/* --- STYLES FOR K2 THINK CAPABILITIES DIAGRAM --- */

.capabilities-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 80px;
    /* More space from paragraph */
    width: 100%;
}

.node-central {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: #ef5d28;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(239, 93, 40, 0.35);
    position: relative;
    margin-bottom: 20px;
    border: 5px solid #fff;
    outline: 1px solid #dadce0;
}

.capabilities-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 950px;
    border-top: 2px solid #f0f0f0;
    padding-top: 50px;
    position: relative;
}

.capability-node {
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 16px;
    padding: 25px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    font-size: 15px;
    color: #5f6368;
    line-height: 1.5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.capability-node:hover {
    transform: translateY(-8px);
    border-color: #ef5d28;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.capability-node strong {
    color: #ef5d28;
    display: block;
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 600;
}


/* --- STYLES FOR NEW MVP DEMO FLOW --- */

.mvp-flow-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Makes cards same height */
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.mvp-card {
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 16px;
    padding: 30px 25px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mvp-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fef0e9;
    /* Light orange */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.mvp-icon-wrapper .material-icons {
    color: #ef5d28;
    /* Main orange */
    font-size: 32px;
}

.mvp-card h3 {
    font-size: 18px;
    color: #202124;
    margin-bottom: 10px;
}

.mvp-card p {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.6;
}

.mvp-arrow {
    font-size: 32px;
    color: #dadce0;
    align-self: center;
}


/* Hide arrow on mobile */

@media (max-width: 992px) {
    .mvp-arrow {
        display: none;
    }
}


/* --- STYLES FOR NEW REAL-TIME VOICE UI SECTION --- */

.voice-ui-mockup {
    max-width: 550px;
    /* Mais estreito para focar na voz */
    margin: 0 auto;
    border: 1px solid #dadce0;
    border-radius: 24px;
    /* Mais arredondado */
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.voice-header {
    text-align: center;
    padding: 15px 20px;
    font-weight: 500;
    color: #3c4043;
    background-color: #f8f9fa;
}

.voice-messages {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 250px;
}

.message {
    padding: 15px 20px;
    border-radius: 20px;
    max-width: 90%;
    line-height: 1.5;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.message .material-icons {
    opacity: 0.7;
}

.message.user-speech {
    background-color: #f1f3f4;
    color: #3c4043;
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.message.bot-speech {
    background-color: #fef0e9;
    /* Light orange background */
    color: #3c4043;
    align-self: flex-start;
    /* Both from the left, like a transcript */
    border-bottom-left-radius: 6px;
}

.message.bot-speech .material-icons {
    color: #ef5d28;
    /* Main orange icon */
}

.voice-input-area {
    background-color: #f8f9fa;
    border-top: 1px solid #dadce0;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.mic-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ef5d28;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mic-button .material-icons {
    font-size: 36px;
}

.mic-button.listening {
    animation: pulse 1.5s infinite;
}

p.mic-status {
    color: #5f6368;
    font-weight: 500;
    font-size: 14px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 93, 40, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(239, 93, 40, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 93, 40, 0);
    }
}


/* --- STYLES FOR NEW TEAM SECTION --- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #ef5d28;
}

.team-avatar {
    font-size: 80px;
    color: #dadce0;
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 20px;
    color: #202124;
    margin-bottom: 8px;
    font-weight: 600;
}

.team-role {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.6;
}


/* --- STYLES FOR FINAL MESSAGE SECTION --- */

#final-message {
    background-color: #202124;
    /* Dark background */
    padding: 100px 40px;
    text-align: center;
}

.message-container {
    max-width: 800px;
    margin: 0 auto;
}

#final-message blockquote {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    color: #e8eaed;
    /* Light text color */
    border: none;
    margin: 0 0 20px 0;
}

#final-message cite {
    font-size: 16px;
    color: #9aa0a6;
    /* Subtler color for attribution */
    font-style: normal;
}


/* Responsive font size for the message */

@media (max-width: 768px) {
    #final-message blockquote {
        font-size: 22px;
    }
}


/* --- STYLE FOR WORKFLOW SUBTITLE --- */

.section-subtitle {
    margin-top: -30px;
    /* Puxa o subtítulo para mais perto do título */
    margin-bottom: 30px;
    color: #9aa0a6;
    /* Cor subtil */
    font-size: 16px;
    font-weight: 400;
}


/* --- ANIMAÇÃO HOVER PARA OS CARDS DA SEÇÃO "PLANS" --- */


/* Adiciona uma transição suave para a animação */

.plan-card {
    transition: all 0.3s ease;
}


/* Define o que acontece ao passar o mouse */

.plan-card:hover {
    transform: translateY(-8px);
    /* Eleva o card ligeiramente */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* Adiciona uma sombra mais pronunciada */
    border-color: #ef5d28;
    /* Destaca a borda com a cor principal */
}
