/* 
  Theme: Zoho Consultancy Professional
  Colors: Navy Blue, Technical Gray, Bright Accent
*/

:root {
    --fs-sm: 1rem;
    --fs-md: 2rem;
    --fs-lg: clamp(3rem, 5.2vw, 6.2rem);

    /* Palette (Dark Theme) */
    --bg-dark: #000000; 
    --bg-secondary: #080808;
    --surface-color: #121212;

    --accent-primary: #0099FF;
    --accent-secondary: #00D1FF;
    --accent-gradient: linear-gradient(135deg, #00D1FF 0%, #0099FF 100%);

    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --text-heading: #FFFFFF;
    --text-inverse: #0A0A0A;

    --success: #10b981;
    --border-color: rgba(0, 0, 0, 0.08);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-neon: 0 0 20px rgba(0, 153, 255, 0.2);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --container-padding: 2rem;
    --header-height: 60px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Reset & Base */
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--fs-sm);
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1 {
    letter-spacing: -0.05em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Utility Containers */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 7rem 0;
}

/* Header & Navigation (Floating Pill Style) */
.main-header {
    width: fit-content;
    max-width: 95%;
    margin: 20px auto 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    z-index: 1000;
    position: fixed;
    top: 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    padding: 0.1rem 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When the menu opens by JS adding this class, the header bottom corners become flat
   and the bottom border disappears to perfectly merge with the dropdown */
.main-header.menu-open {
    border-color: transparent !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease-out;
}

.header-container {
    width: 100%;
    margin: 0;
    padding: 0 1rem;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* ... styles for logo ... */
.logo a {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

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

/* Removed .logo-icon styles as it is replaced by img */

.main-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--fs-sm);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.main-nav a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--fs-sm);
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    margin-right: -0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    line-height: 1;
}

/* Header CTA Button (White Pill with Blue Arrow) */
.btn-header-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #00D1FF 0%, #FFFFFF 150%);
    color: #0A0A0A !important;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    gap: 0.5rem;
    height: 32px;
}

.btn-header-cta .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #00D1FF, #00B1D9);
    border-radius: 50%;
    color: white;
    font-size: var(--fs-sm);
    transition: all var(--transition-fast);
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.5);
    flex-shrink: 0;
}

.btn-header-cta:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.btn-header-cta:hover .icon-circle {
    transform: rotate(-45deg);
    background: linear-gradient(135deg, #0099FF, #00D1FF);
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.8), 0 0 30px rgba(0, 209, 255, 0.4);
}

/* --- RESPONSIVIDADE E MOBILE MENU --- */
@media (max-width: 968px) {
    .header-container {
        gap: 1rem;
    }
}

@media (max-width: 768px) {

    /* Header Mobile Adjustments */
    .main-header {
        width: 90%;
        max-width: 400px;
        padding: 0.2rem 0.5rem;
    }

    .header-container {
        height: 40px;
        padding: 0 0.8rem;
    }

    /* Show Toggle */
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
        /* Above menu overlay if needed, but menu usually covers */
    }

    /* Hide Desktop Nav by Default & Create Overlay */
    .main-nav {
        position: absolute;
        top: 0;
        /* Alinha exatamente com o topo do cabeçalho */
        left: 0;
        width: 100%;
        height: auto;
        padding: 50px 1.5rem 2rem;
        /* Espaço para o navbar verdadeiro (40px~50px) em cima */
        border-radius: 30px;
        /* Arredondamento perfeito da pílula em todos os cantos */
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: -1;
        /* Fica atrás dos itens normais de cabeçalho para eles ficarem visíveis */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform-origin: top center;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: scaleY(0.4) translateY(-20px);
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transform: scaleY(1) translateY(0);
        /* Retain border radius on active if we want it to look like it extends down */
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .main-nav a {
        font-size: var(--fs-md);
        font-weight: 600;
        color: var(--text-secondary);
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: white;
    }

    /* Styling the CTA inside mobile menu */
    .main-nav .btn-header-cta {
        margin-top: 1rem;
        transform: scale(1.1);
        background: linear-gradient(to right, #00D1FF 0%, #00B1D9 100%) !important;
        color: #0A0A0A !important;
        height: 44px;
        padding: 0.5rem 1.5rem;
        border-radius: 50px;
    }

    .main-nav .btn-header-cta .icon-circle {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Hero Mobile Adjustments */
    .hero-section {
        padding: calc(var(--header-height) + 4rem) 0 4rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats-column {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: var(--fs-md);
    }
}



.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px -4px rgba(0, 209, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 209, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-heading);
    border: 1px solid var(--accent-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-secondary);
    background: rgba(0, 209, 255, 0.1);
    color: var(--text-heading);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: calc(var(--header-height) + 6rem) 0 6rem;
    background: radial-gradient(circle at 50% 0%, #080808 0%, var(--bg-dark) 70%);
    color: var(--text-heading);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 209, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 209, 255, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(0, 209, 255, 0.05);
    color: var(--accent-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: var(--fs-sm);
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 209, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.1);
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: var(--fs-lg);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.05em;
    color: var(--text-heading);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-section p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 580px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-start;
}

/* Stats Column & Cards */
.hero-stats-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.stat-card {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 209, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 209, 255, 0.2);
}

.stat-card:nth-child(3) {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.stat-number {
    display: block;
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    line-height: 1;
    background: linear-gradient(to right, #00D1FF, #0099FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card:nth-child(3) .stat-number {
    margin-bottom: 0;
}

.stat-desc {
    display: block;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    font-weight: 400;
}

/* Decoration */
.stat-visual-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

/* Media Queries for Hero */
/* Media Queries for Hero */
/* --- RESPONSIVIDADE GLOBAL E NAV --- */

/* 1. Tablet/Laptop Médio (1024px até 900px) */
@media (max-width: 1024px) {
    :root {
    --fs-sm: 1rem;
    --fs-md: 2rem;
    --fs-lg: 4.5rem;

        --container-width: 95%;
        /* Usar mais largura da tela */
    }

    .hero-section h1 {
        font-size: var(--fs-lg);
    }
}

/* 2. Tablet Mode (900px até 700px) - MENU AINDA VISÍVEL */
@media (max-width: 900px) {
    .header-container {
        justify-content: space-between;
        /* Voltar a separar logo (oculto) e menu para aproveitar espaço */
        padding: 0 1rem;
    }

    .main-nav ul {
        gap: 1rem;
    }

    .main-nav a {
        font-size: var(--fs-sm);
        padding: 0.5rem;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: var(--fs-sm);
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-section h1 {
        font-size: var(--fs-md);
    }
}

/* 3. Mobile Breakpoint (Abaixo de 700px) - MENU HAMBURGUER ATIVA */
@media (max-width: 700px) {

    /* Header & Nav - RESTORING HAMBURGER MENU */
    /* Removed overrides that forced menu to be always visible */

    /* Hero Section - Empilhar */

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-section p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        padding: 0 10%;
    }

    .hero-stats-column {
        padding: 0 1rem;
    }
}

/* 4. Small Mobile (Abaixo de 480px) */
@media (max-width: 480px) {
    .hero-section {
        padding-top: calc(var(--header-height) + 2rem);
    }

    .hero-section h1 {
        font-size: var(--fs-md);
        /* Evitar quebrar palavras grandes */
    }

    .hero-badge {
        font-size: var(--fs-sm);
    }

    .stat-number {
        font-size: var(--fs-md);
    }

    .hero-buttons {
        padding: 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Omnichannel Section */
.omni-benefits {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    background: #e0f2fe;
    /* Light Blue */
    color: var(--accent-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: var(--fs-sm);
    margin-bottom: 0.25rem;
    color: var(--bg-dark);
}

.benefit-item p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

.omni-placeholder {
    width: 100%;
    height: 350px;
    background: #0A0A0A;
    border: 2px dashed #1A1A1A;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.omni-placeholder:hover {
    border-color: var(--accent-primary);
    background: #1A1A1A;
}

.placeholder-content {
    text-align: center;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.placeholder-content i {
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.placeholder-content span {
    font-weight: 600;
    font-size: var(--fs-sm);
}

.placeholder-content small {
    font-size: var(--fs-sm);
    opacity: 0.8;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Sync Section */
.sync-grid {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.sync-card {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    flex: 1;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.step-badge {
    background: var(--bg-dark);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sync-card h3 {
    font-size: var(--fs-sm);
    margin-bottom: 1rem;
}

.sync-card p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.sync-placeholder {
    background: var(--bg-secondary);
    border: 2px dashed #1A1A1A;
    border-radius: 8px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all var(--transition-fast);
}

.sync-placeholder:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.sync-placeholder i {
    font-size: var(--fs-md);
    margin-bottom: 0.5rem;
}

.sync-placeholder span {
    font-size: var(--fs-sm);
    font-weight: 500;
}

.sync-arrow {
    color: var(--text-secondary);
    font-size: var(--fs-md);
    opacity: 0.5;
}

@media (max-width: 900px) {
    .sync-grid {
        flex-direction: column;
    }

    .sync-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}



/* Security Section */
.security-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.security-list i {
    font-size: var(--fs-md);
    color: #10b981;
    /* Green Safety */
    background: #ecfdf5;
    padding: 1rem;
    border-radius: 12px;
}

.security-list strong {
    display: block;
    font-size: var(--fs-sm);
    color: var(--bg-dark);
    margin-bottom: 0.25rem;
}

.security-list span {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.5;
}

.security-visual {
    position: relative;
    height: 400px;
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.main-icon {
    font-size: var(--fs-lg);
    color: #1A1A1A;
}

.badge-certified,
.badge-secure {
    position: absolute;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-heading);
    font-size: var(--fs-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-certified {
    top: 20%;
    right: -20px;
}

.badge-certified i {
    color: #1877f2;
    /* Facebook Blue */
}

.badge-secure {
    bottom: 20%;
    left: -20px;
}

.badge-secure i {
    color: #10b981;
}

@media (max-width: 900px) {
    .badge-certified {
        right: 0;
    }

    .badge-secure {
        left: 0;
    }
}



/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-fast);
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.step-number {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: rgba(0, 209, 255, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.step-item h4 {
    font-size: var(--fs-sm);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.step-item p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* Modern Footer */
.site-footer-modern {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info {
    max-width: 400px;
    text-align: left;
}

.contact-details {
    text-align: right;
}

.contact-details .detail-item {
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Mobile Adjustments for Footer */
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-info,
    .contact-details {
        text-align: center;
        max-width: 100%;
    }

    .contact-details .detail-item {
        justify-content: center;
    }
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Initial States */
.animate-fade-up,
.animate-fade-in,
.animate-scale-in {
    opacity: 0;
    /* Hidden by default */
    will-change: opacity, transform;
}

/* Active States (Triggered by JS) */
.animate-active {
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-fade-up.animate-active {
    animation-name: fadeUp;
}

.animate-fade-in.animate-active {
    animation-name: fadeIn;
}

.animate-scale-in.animate-active {
    animation-name: scaleIn;
}

/* Stagger Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}


.footer-brand a {
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-brand span {
    color: var(--accent-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--surface-color);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--fs-sm);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.4);
}

.contact-details .detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-details i {
    color: var(--accent-secondary);
}

/* Footer Form */
.footer-form {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.footer-form h3 {
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.footer-form p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: var(--fs-sm);
}

.dark-form input,
.dark-form select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.dark-form input:focus,
.dark-form select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
}

.dark-form select {
    color: rgba(255, 255, 255, 0.8);
}

.dark-form option {
    background: var(--bg-dark);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--fs-sm);
}

/* Responsividade dos Grids Internos */

/* Cards Grid (Soluções) */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Split Layouts (Integração, Omnichannel) */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .feature-list {
        text-align: left;
        display: inline-block;
        margin-top: 1rem;
    }

    .omni-benefits {
        align-items: center;
        /* Centralizar benefícios */
    }

    .benefit-item {
        text-align: left;
        /* Manter texto do item alinhado à esquerda para leitura */
    }
}

/* Footer Grid */
@media (max-width: 900px) {
    .footer-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        padding-right: 0;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-details .detail-item {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto 2rem;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: var(--fs-md);
    margin-bottom: 1rem;
    color: var(--bg-dark);
}

.section-header p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

/* Solutions Cards */
.bg-light {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5,
.bg-light h6 {
    color: var(--text-heading) !important;
}

.bg-light p {
    color: var(--text-secondary) !important;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
        "chatbot chatbot"
        "crm audio";
    gap: 2rem;
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "chatbot"
            "crm"
            "audio";
    }
}

.card-chatbot { grid-area: chatbot; }
.card-crm { grid-area: crm; }
.card-audio { grid-area: audio; }

.card {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-normal), field-sizing var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 209, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    border-color: transparent; /* Changed for gradient to pop */
    box-shadow: var(--shadow-neon);
}

.card:hover::before {
    opacity: 1;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.card:hover::after {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.4) inset, 0 0 20px rgba(0, 209, 255, 0.4);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 209, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    font-size: var(--fs-md);
    border: 1px solid rgba(0, 209, 255, 0.2);
    position: relative;
    z-index: 2;
}

.card h3 {
    font-size: var(--fs-sm);
    margin-bottom: 1rem;
    color: var(--text-heading);
    position: relative;
    z-index: 2;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: var(--fs-sm);
    position: relative;
    z-index: 2;
}

.card-link {
    font-weight: 600;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    position: relative;
    z-index: 2;
    transition: gap var(--transition-fast);
}

.card-link:hover {
    gap: 0.75rem;
    color: var(--accent-secondary);
}

/* Integration Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-tag {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(0, 209, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 209, 255, 0.2);
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-list i {
    color: var(--success);
    /* Green check */
    margin-top: 0.25rem;
}

/* Integration Visual Placeholder */
.integration-visual {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    min-height: 400px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem; /* Widened the gap slightly to fit the new width elegantly */
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: var(--fs-sm);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.zoho-crm {
    background: linear-gradient(135deg, #009688, #00796b);
}

.zoho-salesiq {
    background: linear-gradient(135deg, #fbc02d, #f9a825);
}

.connection-line {
    font-size: var(--fs-md);
    color: var(--text-secondary);
}

/* API Section */
.bg-dark {
    background-color: var(--bg-secondary);
}

.text-white {
    color: var(--text-primary) !important;
}

.text-white h2 {
    color: var(--text-heading) !important;
}

.text-white p {
    color: var(--text-secondary) !important;
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.api-item {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.api-item:hover {
    background: #FFFFFF;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.api-item i {
    font-size: var(--fs-md);
    color: #60a5fa;
    margin-bottom: 1rem;
}

.api-item h4 {
    font-size: var(--fs-sm);
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.api-item p {
    font-size: var(--fs-sm);
    color: var(--text-secondary) !important;
    margin-bottom: 0;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.contact-info {
    background: var(--bg-dark);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: var(--fs-sm);
}

.info-item i {
    color: var(--accent-secondary);
}

.contact-form-wrapper {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.1);
}

.full-width {
    width: 100%;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--fs-sm);
}

/* Mobile Media Queries Extensions */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .split-image {
        order: -1;
    }

    .feature-list li {
        justify-content: center;
        /* Center list items on mobile if text is centered */
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* --- FOOTER MODERNO --- */
.site-footer-modern {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.footer-brand .footer-logo-link {
    display: inline-block;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 48px;
    /* Bigger logo for footer */
    width: auto;
}

.footer-brand p {
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--text-heading);
    font-size: var(--fs-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-details .detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--fs-sm);
}

.contact-details .detail-item i {
    color: var(--accent-primary);
    font-size: var(--fs-sm);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: var(--fs-sm);
}

/* --- IMAGENS REAIS --- */
.sync-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.omni-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

/* --- BUTTONS & FINAL MOBILE POLISH --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
    font-size: var(--fs-sm);
    white-space: nowrap;
    /* Prevent breaking on small screens */
}

/* Primary Button */
.btn-primary {
    background-color: var(--accent-primary);
    color: white;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 4px 15px -1px rgba(0, 153, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 209, 255, 0.4);
}

/* Secondary Button (Outline) */
.btn-secondary {
    background-color: transparent;
    color: var(--text-heading);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 153, 255, 0.05);
    border-color: var(--accent-primary);
    color: var(--text-heading);
    transform: translateY(-2px);
}

/* Fix Hero Padding & Spacing on Mobile */
@media (max-width: 600px) {
    .container {
        padding: 0 1.5rem;
    }

    .btn {
        width: auto;
        min-width: 250px;
        display: block;
        margin: 0 auto 1rem;
    }

    .hero-buttons {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .hero-section p {
        margin-bottom: 3rem;
    }
}

/* --- FINAL MOBILE OVERRIDES (Correcting Layout) --- */
@media (max-width: 1024px) {
    .main-header {
        width: 95% !important;
        max-width: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 0.2rem 1rem !important;
        /* Thinner padding */
        justify-content: space-between !important;
        height: 50px !important;
        /* Fixed slim height */
        border-radius: 50px !important;
    }

    .header-container {
        padding: 0 !important;
        width: 100% !important;
        gap: 0 !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Ensure Logo is visible */
    .logo {
        z-index: 1001;
        position: relative;
    }

    .logo a {
        font-size: 0.95rem !important;
    }

    /* Remove Icon only on Mobile as requested */
    .logo-icon {
        display: none !important;
    }

    .main-nav {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding: 50px 1.5rem 2rem !important;
        border-radius: 30px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: -1 !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform-origin: top center;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        transform: scaleY(0.4) translateY(-20px);
    }

    .main-nav.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all;
        transform: scaleY(1) translateY(0) !important;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .main-nav a {
        font-size: var(--fs-md);
        color: white;
    }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
        font-size: var(--fs-sm);
        /* Smaller icon */
        color: white;
        background: rgba(255, 255, 255, 0.1);
        width: 32px;
        /* Smaller button */
        height: 32px;
        /* Smaller button */
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }

    /* Hide desktop CTA if outside nav (checked HTML: it is inside nav, so it hides with nav. Good.) */
}

/* Hero Mockup (Replacing Stats) */
.hero-mockup {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 209, 255, 0.1);
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4b5563;
}
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #eab308; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-title {
    color: var(--text-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 320px;
}

.chat-bubble {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: var(--fs-sm);
    line-height: 1.5;
    max-width: 85%;
    position: relative;
    opacity: 0;
    animation-fill-mode: forwards;
}

.chat-bubble.bot {
    background: rgba(18, 18, 18, 0.5);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: linear-gradient(135deg, #0099FF, #00D1FF);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 209, 255, 0.3);
}

.chat-bubble.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.chat-bubble.success small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
}

.mockup-input {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-input i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* Stagger mockup animations */
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }

/* --- Tech Marquee (Integrations Hub) --- */
.tech-marquee-container {
    width: 100%;
    background: var(--bg-dark);
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.tech-marquee {
    position: relative;
    width: 100vw;
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 5rem;
    animation: marqueeScroll 35s linear infinite;
    white-space: nowrap;
    align-items: center;
    padding-left: 5rem; /* Match gap for seamless loop */
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all var(--transition-normal);
    cursor: default;
}

.marquee-logo i {
    font-size: 2.5rem;
    transition: color var(--transition-normal);
}

.marquee-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--text-heading);
    transform: scale(1.05);
}

/* Brand Colors on Hover */
.marquee-logo:hover .fa-whatsapp { color: #25D366; }
.marquee-logo:hover .fa-salesforce { color: #00A1E0; }
.marquee-logo:hover .fa-hubspot { color: #FF7A59; }
.marquee-logo:hover .fa-cloud { color: #fbc02d; /* Zoho IQ yellow-ish or generic blue */ }
.marquee-logo:hover .fa-robot { color: var(--accent-primary); }

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-33.3333%)); }
}

@media (max-width: 768px) {
    .marquee-logo {
        font-size: var(--fs-sm);
    }
    .marquee-logo i {
        font-size: 1.8rem;
    }
    .marquee-track {
        gap: 3rem;
        padding-left: 3rem;
    }
}
/* Neon Glow Animation for Step Numbers */
@keyframes neonGlowFill {
    0% {
        color: rgba(0, 209, 255, 0.1);
        text-shadow: none;
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        color: var(--accent-primary);
        text-shadow: 0 0 15px rgba(0, 209, 255, 0.6), 0 0 30px rgba(0, 209, 255, 0.3);
        transform: scale(1);
    }
}

.step-item.animate-active .step-number {
    animation: neonGlowFill 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s; /* starts slightly after the card fades up */
}

/* Animated Gradient Hover on Buttons */
.btn-primary {
    background: linear-gradient(135deg, #00D1FF, #0099FF, #0055FF, #00D1FF);
    background-size: 300% 300%;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background-position: 100% 50%;
    animation: gradientFlow 3s ease infinite;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 209, 255, 0.5);
    color: white;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glass Container Wrapper & Neon Float */
.glass-container {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 209, 255, 0.15), 0 0 60px rgba(0, 209, 255, 0.05);
    animation: floatLayer 6s ease-in-out infinite;
    background: transparent;
    max-width: fit-content;
    margin: 0 auto;
    z-index: 10;
}

@keyframes floatLayer {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Typing Sequence */
.typing-indicator {
    opacity: 0;
    display: flex;
    align-self: flex-start;
    background: rgba(18, 18, 18, 0.5);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    gap: 4px;
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    z-index: 5;
}
.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typingBounce 1s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

#chatbot-mockup.start-typing .typing-indicator {
    animation: showTypingIndicator 2s forwards;
}

#chatbot-mockup.start-typing .step-1,
#chatbot-mockup.start-typing .step-2,
#chatbot-mockup.start-typing .step-3 {
    opacity: 0;
    animation: bubbleAppear 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#chatbot-mockup.start-typing .step-1 { animation-delay: 2s; }
#chatbot-mockup.start-typing .step-2 { animation-delay: 3.5s; }
#chatbot-mockup.start-typing .step-3 { animation-delay: 5s; }

@keyframes showTypingIndicator {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes bubbleAppear {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Base adjustment for chat bubbles */
.mockup-body { position: relative; } /* important for absolute typing indicator */
.chat-bubble { opacity: 0; } /* hidden until animated */


/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 209, 255, 0.4);
    box-shadow: 0 0 25px rgba(0, 209, 255, 0.1);
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: 0;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-heading);
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.testimonial-content .stars {
    margin-top: 1.5rem;
    color: #fbc02d;
    font-size: 1.2rem;
    display: flex;
    gap: 0.3rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: var(--fs-sm);
    color: var(--text-heading);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Impact Bento Grid --- */
.impact-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 2rem;
    margin-top: 4rem;
}

.impact-card {
    background: rgba(18, 18, 18, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.impact-card:hover {
    transform: translateY(-5px);
    border-color: var(--success);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.impact-card.bento-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-left: 4px solid var(--success);
}

.impact-metric {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
    font-family: var(--font-heading);
}

.metric-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.impact-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}

.impact-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.impact-text p strong {
    color: var(--text-heading);
}

.impact-icon i {
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.impact-metric-small {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
}

@media (max-width: 968px) {
    .impact-bento-grid {
        grid-template-columns: 1fr;
    }
    .impact-card.bento-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(8, 8, 8, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-item:hover {
    background: rgba(18, 18, 18, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item[open] {
    background: rgba(18, 18, 18, 0.6);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.05);
}

.faq-question {
    padding: 1.6rem 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-heading);
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none; /* Hide Safari arrow */
}

/* Custom + / x Icon */
.faq-question::after {
    content: '+';
    font-size: 2rem;
    line-height: 0.5;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform var(--transition-normal), color var(--transition-normal);
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent-primary);
}

.faq-answer {
    padding: 0 2.5rem 1.6rem 2rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    animation: fadeInDownFAQ 0.3s ease-in-out;
}

.faq-answer p {
    margin-bottom: 0 !important;
}

.faq-answer strong {
    color: var(--text-heading);
}

@keyframes fadeInDownFAQ {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }
    .faq-answer {
        font-size: 0.95rem;
        padding: 0 1.5rem 1.5rem;
    }
}


/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS FIXES
   ========================================= */

@media (max-width: 1024px) {
    /* Tablet & Small Laptops */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: none; /* Disable complex grid area on tablets */
    }
    
    .card-chatbot {
        grid-column: span 2;
    }
    
    .split-image {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .feature-list {
        text-align: left; /* Keep bullets readable but centered block */
        display: inline-block;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile Devices */
    
    /* Typography Overrides */
    :root {
        --fs-lg: clamp(2.5rem, 8vw, 3.5rem); /* Smaller H1 */
        --fs-md: 1.5rem;
    }
    
    .section-padding {
        padding: 4rem 1rem;
    }
    
    /* Hero Adjustments */
    .hero-section {
        padding-top: 6rem; /* Make room for mobile header */
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Cards & Grids */
    .cards-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    .card-chatbot {
        grid-column: span 1; /* Reset span entirely */
    }

    /* Impact Bento Grid */
    .impact-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-card.bento-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .metric-number {
        font-size: 4rem;
    }
    
    /* Integration / Visuals */
    .integration-visual {
        flex-direction: column;
        height: auto;
        min-height: 300px;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
        font-size: 0.85rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 1.2rem;
        padding-right: 3rem; /* Space for the '+' icon */
    }
    
    .faq-question::after {
        font-size: 1.5rem;
        right: 1.2rem;
        position: absolute;
    }
    
    .faq-answer {
        font-size: 0.95rem;
        padding: 0 1.2rem 1.5rem 1.2rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Small Phones (iPhone SE, old Androids) */
    
    :root {
        --fs-lg: clamp(2rem, 10vw, 2.5rem);
    }
    
    .metric-number {
        font-size: 3.5rem;
    }
    
    .impact-card {
        padding: 1.5rem;
    }

    .glass-container {
        /* Prevents the mockup from overflowing the screen width */
        max-width: 100% !important; 
        margin: 0 auto;
        border-radius: 12px;
    }
    
    .hero-mockup {
        min-height: 320px;
    }

    .chat-bubble {
        font-size: 0.85rem !important;
        padding: 0.8rem !important;
    }

    .mockup-body {
        padding: 0.8rem !important;
    }
}

/* ==========================================================================
   CORREÇÕES DE RESPONSIVIDADE ABRANGENTE
   Auditoria: 6 breakpoints (375px → 1024px)
   ========================================================================== */

/* Garantia global de zero overflow horizontal */
html {
    overflow-x: hidden;
}

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

/* ── 1. Tablet Landscape: 1024px ──────────────────────────────────────── */
@media (max-width: 1024px) {

    /* Cards de Serviços — 1 coluna para evitar espremimento */
    .cards-grid {
        grid-template-columns: 1fr !important;
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Split layout: empilhar em coluna */
    .split-layout {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }

    .split-image {
        display: flex;
        justify-content: center;
    }

    /* Bento Grid: full-width */
    .impact-bento-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .bento-large {
        grid-column: 1 / -1 !important;
    }

    /* Testimonials: 2 colunas */
    .testimonials-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── 2. Tablet Portrait / Mobile Large: 900px ─────────────────────────── */
@media (max-width: 900px) {

    .section-padding {
        padding: 3.5rem 0 !important;
    }

    /* Testimonials: coluna única */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Bento Grid: coluna única */
    .impact-bento-grid {
        grid-template-columns: 1fr !important;
    }

    .bento-large {
        grid-column: 1 !important;
    }
}

/* ── 3. Mobile: 768px ─────────────────────────────────────────────────── */
@media (max-width: 768px) {

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Hero badge — não deixar encostar nas bordas */
    .hero-badge {
        max-width: calc(100% - 2rem);
        white-space: normal;
        text-align: center;
    }

    /* Hero h1 — não deixar white-space:nowrap quebrar layout */
    .hero-section h1 span,
    .hero-section h1 strong {
        white-space: normal !important;
    }

    /* Hero buttons — coluna única centralizada */
    .hero-buttons {
        flex-direction: column !important;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 340px;
        text-align: center;
        justify-content: center;
    }

    /* Cards de serviço */
    .cards-grid {
        grid-template-columns: 1fr !important;
    }

    /* Section heading */
    .section-header h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    /* Sync Grid: coluna única */
    .sync-grid {
        flex-direction: column !important;
        align-items: stretch;
    }

    .sync-arrow {
        transform: rotate(90deg);
        display: flex;
        justify-content: center;
    }

    .sync-card {
        width: 100%;
    }

    /* Marquee: fonte menor */
    .marquee-logo {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    /* Split layout */
    .split-layout {
        grid-template-columns: 1fr !important;
    }

    /* Bento grid */
    .impact-bento-grid {
        grid-template-columns: 1fr !important;
    }

    .impact-card {
        min-height: auto;
    }

    /* Testimonial cards */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    /* Stats: 2 colunas */
    .hero-stats-column {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* ── 4. Mobile Médio: 600px ───────────────────────────────────────────── */
@media (max-width: 600px) {

    .section-padding {
        padding: 2.5rem 0 !important;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-tag {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .section-header h2 {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }

    /* Cards: padding menor */
    .card {
        padding: 1.5rem !important;
    }

    .sync-card {
        padding: 1.25rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.95rem;
    }
}

/* ── 5. Mobile Pequeno: 480px ─────────────────────────────────────────── */
@media (max-width: 480px) {

    /* Hero badge */
    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.85rem;
        letter-spacing: 1px;
    }

    /* Marquee logo: tamanho reduzido */
    .marquee-logo {
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }

    /* Botões largura total */
    .btn {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    /* Integration visual */
    .app-icon {
        width: 70px !important;
        height: 70px !important;
        font-size: 0.7rem !important;
    }

    /* FAQ item padding */
    details summary {
        padding: 1rem 1.25rem;
    }
}

/* ── 6. Nano Mobile: 375px ────────────────────────────────────────────── */
@media (max-width: 375px) {

    .container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.7rem;
    }

    .hero-section h1 {
        font-size: clamp(1.6rem, 9vw, 2rem) !important;
    }

    .hero-buttons {
        padding: 0 0.5rem;
    }

    .section-header h2 {
        font-size: clamp(1.2rem, 8vw, 1.6rem);
    }

    .card {
        padding: 1.25rem !important;
    }

    details summary {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }
}
