/* ==========================================================================
   THE CODE CRACK - PREMIUM IA AGENCY STYLES (REFINED)
   ========================================================================== */

:root {
    --color-bg-deep: #050505;
    --color-bg-alt: #0a0a0a;
    --color-bg-card: rgba(18, 18, 18, 0.8);
    --color-accent: #FF6B00;
    --color-accent-hover: #FF8533;
    --color-accent-glow: rgba(255, 107, 0, 0.3);
    --color-text-main: #FFFFFF;
    --color-text-muted: #A0A0A0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-primary: 'Inter', sans-serif;
    --border-radius-lg: 32px;
    --border-radius-sm: 16px;
    --container-padding: 2rem;
    --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* --- BADGES --- */
.badge-premium,
.badge-danger,
.badge-accent {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.badge-premium {
    background: rgba(255, 107, 0, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.badge-danger {
    background: rgba(255, 82, 82, 0.1);
    color: #FF5252;
    border: 1px solid rgba(255, 82, 82, 0.3);
}

.badge-accent {
    background: rgba(0, 150, 255, 0.1);
    color: #44B1FF;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

/* --- TEXT --- */
h1,
h2,
h3 {
    line-height: 1.1;
    font-weight: 800;
}

.gradient-accent {
    background: linear-gradient(135deg, #FF6B00 0%, #FFB600 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- NAVBAR --- */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 2000;
    transition: all 0.3s ease;
}

.logo-img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.nav-link:hover {
    color: var(--color-accent);
    opacity: 1;
}

.cta-link-nav {
    background: var(--color-accent);
    color: white !important;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--color-accent-glow);
    transition: all 0.3s ease;
}

.cta-link-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-accent-glow);
}

/* Hamburger */
.hamburger-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 7px;
    padding: 10px;
    z-index: 2100;
}

.hamburger-toggle__bar {
    width: 28px;
    height: 2px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg-deep);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 2rem;
    }

    .nav-links.is-active {
        right: 0;
    }

    .hamburger-toggle {
        display: flex;
    }

    .nav-link {
        font-size: 1.5rem;
    }
}

.hamburger-toggle.is-active .hamburger-toggle__bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-toggle.is-active .hamburger-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-toggle.is-active .hamburger-toggle__bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    padding: 120px 0 60px;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, #1a0f05 0%, #050505 50%);
    text-align: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-muted);
    max-width: 850px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-accent);
    padding: 1.25rem 3.5rem;
    border-radius: 100px;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    box-shadow: 0 10px 40px var(--color-accent-glow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.primary-glow:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px var(--color-accent-glow);
}

.cta-note {
    color: #555;
    font-size: 0.85rem;
    max-width: 400px;
    line-height: 1.4;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #444;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll-mouse 2s infinite;
}

@keyframes scroll-mouse {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    .hero {
        padding: 100px 0 40px;
    }
}

/* --- SECTIONS GENERAL --- */
section {
    padding: 100px 0;
}

.section-title-alt {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    text-align: center;
}

/* --- PROBLEM --- */
.problem-section {
    background: var(--color-bg-alt);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.problem-text {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pain-point {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem 1.75rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    transition: background 0.3s ease;
}

.pain-point:hover {
    background: rgba(255, 82, 82, 0.05);
    border-color: rgba(255, 82, 82, 0.2);
}

.pain-point i {
    font-size: 1.4rem;
    color: #FF5252;
}

.pain-point span {
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .problem-list {
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
    }
}

/* --- REDESIGNED SOLUTIONS (NEW STYLES AT BOTTOM) --- */


/* --- TECH DIFF --- */
.tech-diff-section {
    background: var(--color-bg-deep);
}

.diff-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-stack-visual {
    display: flex;
    flex-direction: column;
    gap: 15px;
    perspective: 1000px;
}

.tech-layer {
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    font-weight: 800;
    color: var(--color-accent);
    text-align: center;
    transform: rotateX(20deg);
    transition: all 0.3s ease;
}

.tech-layer:hover {
    transform: rotateX(0deg) translateY(-5px);
    background: var(--color-accent);
    color: white;
    box-shadow: 0 10px 30px var(--color-accent-glow);
}

.layer-1 {
    opacity: 1;
}

.layer-2 {
    opacity: 0.8;
}

.layer-3 {
    opacity: 0.6;
}

.layer-4 {
    opacity: 0.4;
}

.section-title-left {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.diff-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .diff-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .diff-visual {
        order: 2;
    }

    .section-title-left {
        font-size: 2.5rem;
        text-align: center;
    }
}

/* --- CLIENTS --- */
.clients-section {
    padding: 80px 0;
    background: var(--color-bg-deep);
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.clients-section::before,
.clients-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.clients-section::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-deep) 0%, transparent 100%);
}

.clients-section::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-deep) 0%, transparent 100%);
}

.section-title-small {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 4rem;
    opacity: 0.8;
}

.clients-carousel {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 100px;
    animation: scroll-clients 40s linear infinite;
}

.client-logo {
    flex-shrink: 0;
}

.client-logo img {
    height: 60px;
    width: auto;
    filter: none;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.client-logo img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 50px));
    }
}

@media (max-width: 768px) {

    .clients-section::before,
    .clients-section::after {
        width: 100px;
    }

    .carousel-track {
        gap: 60px;
    }

    .client-logo img {
        height: 45px;
    }
}

/* --- FINAL CTA --- */
.cta-box {
    background: linear-gradient(135deg, #111, #050505);
    padding: 6rem 4rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.cta-box h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.premium-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
}

.form-title {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--color-accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.premium-form input:focus,
.premium-form textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

/* --- MANIFIESTO --- */
.manifesto-section {
    background: #080808;
    padding: 120px 0;
    position: relative;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.manifesto-header {
    border-right: 1px solid var(--glass-border);
    padding-right: 4rem;
}

.manifesto-content {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.lead-text {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    font-weight: 600;
}

.manifesto-quote {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 107, 0, 0.03);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--color-text-main);
}

@media (max-width: 991px) {
    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .manifesto-header {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding-right: 0;
        padding-bottom: 3rem;
    }
}

/* --- RE-STYLED COMPONENTS --- */
.hero-title br {
    display: block;
}

@media (max-width: 768px) {
    .hero-title br {
        display: none;
    }
}


.submit-button-premium {
    width: 100%;
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.submit-button-premium:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--color-accent-glow);
}

@media (max-width: 768px) {
    .cta-box {
        padding: 4rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .premium-form {
        padding: 2rem 1.5rem;
    }

    section {
        padding: 70px 0;
    }
}

/* --- FOOTER (REDESIGNED) --- */
.footer {
    background: #030303;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    height: 36px;
    width: auto;
}

.footer-tagline {
    color: #444;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 1.75rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25D366;
    transform: translateY(-3px);
}

.footer-nav h4,
.footer-contact-info h4 {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-nav ul,
.footer-contact-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-nav a {
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #444;
    font-size: 0.9rem;
}

.footer-contact-info li i {
    color: var(--color-accent);
    width: 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright {
    color: #2d2d2d;
    font-size: 0.8rem;
}

.footer-legal {
    color: #222;
    font-size: 0.74rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 998;
}

.back-to-top.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

/* --- AGENT TYPES (PILAR 4 VISUAL) --- */
.agent-types {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 0 0.5rem;
    margin-top: 0.75rem;
}

.agent-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.64rem;
    color: #aaa;
    background: rgba(255, 107, 0, 0.04);
    border: 1px solid rgba(255, 107, 0, 0.15);
    padding: 6px 10px;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-10px);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}

.agent-type i {
    color: var(--color-accent);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.at-1 { animation: agentTypeIn 0.4s ease forwards 0.8s; }
.at-2 { animation: agentTypeIn 0.4s ease forwards 1.8s; }
.at-3 { animation: agentTypeIn 0.4s ease forwards 2.8s; }

@keyframes agentTypeIn {
    to { opacity: 1; transform: translateX(0); }
}

/* --- LEGACY FOOTER STYLES (KEPT FOR REFERENCE) --- */
.footer-premium {
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-img {
    height: 32px;
    margin-bottom: 1rem;
}

.footer-bottom-info {
    text-align: right;
    color: #555;
}

@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-info {
        text-align: center;
    }
}

/* Utilities */
.no-scroll {
    overflow: hidden;
}

[data-aos] {
    transition-timing-function: cubic-bezier(.4, .1, .2, 1);
}

/* --- SOLUTIONS REDESIGN 2026 --- */
.solutions-section {
    background: #050505;
    padding: 120px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 5rem;
}

/* 4th card centered below the 3 */
.solutions-grid .glass-card:last-child {
    grid-column: 2 / 3;
}

@media (max-width: 1100px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid .glass-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

.glass-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-accent);
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.card-visual {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.glass-card:hover .card-visual video {
    opacity: 0.8;
}

.card-icon-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    background: var(--color-accent);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-content {
    padding: 2.5rem;
}

.card-subtitle {
    display: block;
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.card-content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- METHODOLOGY --- */
.methodology-section {
    background: #0a0a0a;
    padding: 140px 0;
    position: relative;
}

.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 6rem;
}

.step-card {
    background: #0f0f0f;
    padding: 4rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--color-accent);
    background: #151515;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: var(--color-bg-deep);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: 900;
    font-size: 1.2rem;
    z-index: 2;
}

.step-card h3 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-text-main);
}

.step-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .methodology-steps {
        gap: 4rem;
    }
}

/* --- INTRANET PROMO & ANIMATIONS 2026 --- */
.intranet-promo {
    background: linear-gradient(135deg, #050505 0%, #0a0a0a 100%);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.intranet-promo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 0 2rem;
}

.intranet-promo-badge {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 136, 204, 0.2);
}

.intranet-promo-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.intranet-promo-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.intranet-promo-features {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-main);
    font-weight: 600;
}

.promo-feature i {
    color: #22c55e;
    font-size: 1.2rem;
}

.intranet-promo-button {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(90deg, #0088cc, #00aaff);
    color: white;
    padding: 1.25rem 2.8rem;
    border-radius: 18px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 136, 204, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.intranet-promo-button:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 136, 204, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

/* --- VIRTUAL TELEGRAM CHAT ANIMATION --- */
.phone-mockup-animated {
    width: 100%;
    max-width: 330px;
    height: 590px;
    background: #1e1e1e;
    border-radius: 45px;
    border: 10px solid #282828;
    position: relative;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 136, 204, 0.2);
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: #242424;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: white;
}

.chat-user-info span {
    display: block;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
}

.chat-user-info small {
    color: #4CAF50;
    font-size: 0.75rem;
}

.chat-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 20px 20px;
}

.chat-group-label {
    align-self: center;
    font-size: 0.65rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 10px;
    color: #888;
    margin-bottom: 10px;
}

.chat-msg {
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    max-width: 85%;
    line-height: 1.4;
    position: relative;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: msgBounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.msg-received {
    background: #2b2b2b;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    color: #eee;
}

.msg-sent {
    background: #0088cc;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

@keyframes msgBounceIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-msg:nth-child(2) {
    animation-delay: 1.5s;
}

.chat-msg:nth-child(3) {
    animation-delay: 4.5s;
}

.chat-msg:nth-child(4) {
    animation-delay: 7s;
}

.chat-msg:nth-child(5) {
    animation-delay: 9s;
}

/* --- AI AGENT ANIMATION (SOLUCIONES CARD) --- */
.ai-agent-visual {
    height: 100%;
    background: #080808;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
}

.ai-core-container {
    padding: 40px;
    position: relative;
}

.ai-core-ring {
    width: 90px;
    height: 90px;
    border: 2px dashed var(--color-accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 10s linear infinite;
    opacity: 0.4;
}

.ai-core {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--color-accent) 0%, rgba(255, 107, 0, 0.2) 70%, transparent 100%);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.4);
    animation: aiPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-terminal {
    margin-top: 2rem;
    font-family: 'Inter', monospace;
    font-size: 0.8rem;
    color: #aaa;
    width: 100%;
    text-align: center;
    min-height: 60px;
}

.terminal-line {
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto 8px auto;
    width: 0;
    border-right: 2px solid var(--color-accent);
}

.line-1 {
    animation: typeLine 1.5s steps(30) forwards 1s;
}

.line-2 {
    animation: typeLine 1.5s steps(30) forwards 3s;
}

.line-3 {
    animation: typeLine 1.5s steps(30) forwards 5s;
}

@keyframes typeLine {
    0% {
        width: 0;
        opacity: 1;
    }

    90% {
        width: 100%;
        opacity: 1;
        border-color: var(--color-accent);
    }

    100% {
        width: 100%;
        opacity: 1;
        border-color: transparent;
    }
}

@keyframes aiPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(255, 107, 0, 0.6);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- CLIENTS CAROUSEL ENHANCEMENT --- */
.clients-carousel {
    padding: 2rem 0;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 120px;
    animation: smoothScroll 50s linear infinite;
    width: max-content;
    align-items: center;
}

@keyframes smoothScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 60px));
    }
}

.client-logo img {
    height: 55px;
    filter: grayscale(1) invert(1) brightness(0.8);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.client-logo img:hover {
    filter: grayscale(0) invert(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 968px) {
    .intranet-promo-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .intranet-promo-badge {
        margin: 0 auto 1.5rem auto;
    }

    .intranet-promo-visual {
        order: -1;
    }

    .phone-mockup-animated {
        margin: 0 auto;
    }

    .promo-feature {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .intranet-promo {
        padding: 80px 0;
    }

    .intranet-promo-title {
        font-size: 2.2rem;
    }

    .intranet-promo-description {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   PILLAR ANIMATIONS & NEW COMPONENTS 2026
   ========================================================================== */

/* Section utilities */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-intro {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.products-header {
    text-align: center;
}

/* --- PILAR 1: PROCESS FLOW VISUAL --- */
.process-flow-visual {
    height: 100%;
    background: linear-gradient(160deg, #0a0a0a 0%, #100e08 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    gap: 1.25rem;
}

.pf-nodes {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.pf-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 0, 0.15);
    background: rgba(255, 107, 0, 0.04);
    min-width: 66px;
    font-size: 0.58rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.pf-node i {
    font-size: 1.1rem;
    color: #444;
}

.pf-node--active {
    border-color: rgba(255, 107, 0, 0.5);
    background: rgba(255, 107, 0, 0.1);
    animation: pfNodePulse 3s ease-in-out infinite;
}

.pf-node--active i { color: var(--color-accent); }
.pf-node--active span { color: var(--color-accent); }
.pf-node--mid { animation: pfNodePulse 3s ease-in-out infinite 1s; }
.pf-node--end { animation: pfNodePulse 3s ease-in-out infinite 2s; }

@keyframes pfNodePulse {
    0%, 100% { box-shadow: none; }
    50% {
        box-shadow: 0 0 12px rgba(255, 107, 0, 0.25);
        border-color: rgba(255, 107, 0, 0.45);
        background: rgba(255, 107, 0, 0.09);
    }
}

.pf-connector {
    flex: 1;
    height: 2px;
    background: rgba(255, 107, 0, 0.07);
    position: relative;
    overflow: hidden;
    max-width: 36px;
    min-width: 14px;
}

.pf-pulse {
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    animation: pfFlow 2s ease-in-out infinite;
}

@keyframes pfFlow {
    0%   { left: -60%; }
    100% { left: 160%; }
}

.pf-output {
    width: 100%;
    font-family: 'Inter', monospace;
    font-size: 0.68rem;
    padding: 0 0.25rem;
}

.pf-line {
    color: #22c55e;
    padding: 2px 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    display: block;
}

.pfl-1 { animation: pfTypeLine 1.5s steps(35) forwards 1s,   pfShowLine 0.01s forwards 1s; }
.pfl-2 { animation: pfTypeLine 1.5s steps(35) forwards 3.2s, pfShowLine 0.01s forwards 3.2s; }
.pfl-3 { animation: pfTypeLine 1.5s steps(35) forwards 5.4s, pfShowLine 0.01s forwards 5.4s; }

@keyframes pfTypeLine { from { width: 0; } to { width: 100%; } }
@keyframes pfShowLine { to { opacity: 1; } }

/* --- PILAR 2: ERP VISUAL --- */
.erp-visual {
    height: 100%;
    background: linear-gradient(160deg, #080808 0%, #080d09 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    gap: 1.25rem;
}

.erp-metrics {
    display: flex;
    gap: 0.6rem;
}

.erp-metric {
    flex: 1;
    padding: 0.6rem 0.35rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid transparent;
}

.em-green  { background: rgba(34, 197, 94, 0.07); border-color: rgba(34, 197, 94, 0.2); }
.em-orange { background: rgba(255, 107, 0, 0.07); border-color: rgba(255, 107, 0, 0.2); }
.em-blue   { background: rgba(0, 136, 204, 0.07); border-color: rgba(0, 136, 204, 0.2); }

.em-val {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.em-green  .em-val { color: #22c55e; }
.em-orange .em-val { color: var(--color-accent); }
.em-blue   .em-val { color: #0088cc; }

.em-lbl {
    display: block;
    font-size: 0.54rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
    font-weight: 700;
}

.erp-chart {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 75px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2px;
}

.erp-bar {
    flex: 1;
    height: var(--h);
    background: var(--c);
    border-radius: 4px 4px 0 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    animation: erpBarGrow 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards calc(var(--d) + 0.3s);
}

@keyframes erpBarGrow { to { opacity: 0.65; transform: scaleY(1); } }

.glass-card:hover .erp-bar { opacity: 0.9; }

/* --- PILAR 3: TELEGRAM CORPORATE VISUAL --- */
.tg-corp-visual {
    height: 100%;
    display: flex;
    background: #0e1117;
    overflow: hidden;
}

.tg-corp-sidebar {
    width: 44%;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.6rem 0.4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.tg-corp-ch {
    padding: 0.45rem 0.55rem;
    border-radius: 7px;
    font-size: 0.6rem;
    color: #555;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tg-ch--active {
    background: rgba(0, 136, 204, 0.12);
    color: #0088cc;
    border-left: 2px solid #0088cc;
}

.tg-corp-feed {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.6rem;
    overflow: hidden;
}

.tg-corp-msg {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.66rem;
    color: #888;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(8px);
    white-space: nowrap;
    overflow: hidden;
}

.tg-corp-msg strong { color: white; }
.tcm-icon { font-size: 0.8rem; flex-shrink: 0; }

.tcm-1 { animation: tgMsgIn 0.4s ease forwards 0.6s; }
.tcm-2 { animation: tgMsgIn 0.4s ease forwards 1.7s; }
.tcm-3 { animation: tgMsgIn 0.4s ease forwards 2.8s; }
.tcm-4 { animation: tgMsgIn 0.4s ease forwards 3.9s; }

@keyframes tgMsgIn { to { opacity: 1; transform: translateX(0); } }

/* --- PILAR 4: AI RING 2 --- */
.ai-ring-2 {
    width: 120px !important;
    height: 120px !important;
    border-color: rgba(0, 136, 204, 0.25) !important;
    animation: rotate 15s linear infinite reverse !important;
}

/* ==========================================================================
   TELEGRAM GROUP MOCKUP — INTRANET PROMO
   ========================================================================== */
.tg-group-mockup {
    width: 100%;
    max-width: 340px;
    background: #1c1c1e;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 136, 204, 0.12);
    display: flex;
    flex-direction: column;
    max-height: 520px;
}

.tg-grp-header {
    background: #242428;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.tg-grp-icon {
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 136, 204, 0.12);
    border-radius: 50%;
    flex-shrink: 0;
}

.tg-grp-info span {
    display: block;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
}

.tg-grp-info small {
    color: #4CAF50;
    font-size: 0.68rem;
}

.tg-grp-body {
    flex: 1;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 18px 18px;
}

.tg-grp-date {
    text-align: center;
    font-size: 0.62rem;
    color: #444;
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 10px;
    border-radius: 8px;
    align-self: center;
}

.tg-grp-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
}

.tggm-1 { animation: tggmAppear 0.5s ease forwards 0.5s; }
.tggm-2 { animation: tggmAppear 0.5s ease forwards 2s; }
.tggm-3 { animation: tggmAppear 0.5s ease forwards 5s; }
.tggm-4 { animation: tggmAppear 0.5s ease forwards 6.5s; }

@keyframes tggmAppear { to { opacity: 1; transform: translateY(0); } }

.tggm-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.tggm-bot {
    background: linear-gradient(135deg, #0088cc, #00aaff);
    font-size: 0.9rem;
}

.tggm-bubble {
    background: #2b2b30;
    border-radius: 4px 16px 16px 16px;
    padding: 8px 12px;
    max-width: 88%;
}

.tggm-bubble-bot {
    background: #162533;
    border: 1px solid rgba(0, 136, 204, 0.2);
    padding: 0;
    overflow: hidden;
    border-radius: 4px 16px 16px 16px;
}

.tggm-name {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.tggm-bubble p {
    font-size: 0.78rem;
    color: #ddd;
    margin: 0;
    line-height: 1.4;
}

/* Task card inside bubble */
.task-card {
    padding: 10px 12px;
}

.task-card-header {
    font-size: 0.57rem;
    font-weight: 800;
    color: #0088cc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.task-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
}

.task-card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.task-tag {
    font-size: 0.57rem;
    padding: 2px 7px;
    border-radius: 100px;
    font-weight: 700;
}

.tag-roja  { background: rgba(255, 82, 82, 0.12);  color: #FF5252; border: 1px solid rgba(255, 82, 82, 0.25); }
.tag-media { background: rgba(255, 193, 7, 0.12);  color: #FFC107; border: 1px solid rgba(255, 193, 7, 0.25); }
.tag-cat   { background: rgba(255, 255, 255, 0.04); color: #888;    border: 1px solid rgba(255, 255, 255, 0.08); }

.task-card-meta {
    display: flex;
    gap: 10px;
    font-size: 0.62rem;
    color: #555;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Input bar */
.tg-grp-input {
    background: #242428;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.tgi-placeholder {
    font-size: 0.78rem;
    color: #444;
}

@media (max-width: 968px) {
    .tg-group-mockup {
        margin: 0 auto;
    }
}

/* === ANIMATION TRIGGER: paused until mockup enters viewport === */
.tg-group-mockup .tggm-1,
.tg-group-mockup .tggm-2,
.tg-group-mockup .tggm-3,
.tg-group-mockup .tggm-4,
.tg-group-mockup .typing-bot-1,
.tg-group-mockup .typing-bot-2 {
    animation-play-state: paused;
}

.tg-group-mockup.is-playing .tggm-1,
.tg-group-mockup.is-playing .tggm-2,
.tg-group-mockup.is-playing .tggm-3,
.tg-group-mockup.is-playing .tggm-4,
.tg-group-mockup.is-playing .typing-bot-1,
.tg-group-mockup.is-playing .typing-bot-2 {
    animation-play-state: running;
}

/* Input bar cursor */
.tgi-area {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 2px;
}

.tgi-cursor {
    color: #0088cc;
    font-weight: 300;
    font-size: 1rem;
    animation: cursorBlink 1s step-end infinite;
    line-height: 1;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Typing indicators */
.tg-typing-indicator {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
}

.typing-bot-1 {
    animation: tggmAppear 0.3s ease forwards 1.2s, tggmDisappear 0.25s ease forwards 1.85s;
}

.typing-bot-2 {
    animation: tggmAppear 0.3s ease forwards 5.5s, tggmDisappear 0.25s ease forwards 6.2s;
}

@keyframes tggmDisappear {
    to { opacity: 0; transform: translateY(-5px); }
}

.typing-dots-bubble {
    background: #2b2b30;
    border-radius: 4px 16px 16px 16px;
    padding: 11px 15px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.typing-dot {
    width: 7px;
    height: 7px;
    background: #555;
    border-radius: 50%;
    animation: typingDotPulse 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDotPulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; background: #555; }
    50%       { transform: translateY(-3px) scale(1.2); opacity: 1; background: #0088cc; }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
    background: #050505;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 75% 50%, rgba(255, 107, 0, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-content {
    position: sticky;
    top: 110px;
}

.contact-headline {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.75rem;
    font-weight: 900;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-trust {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.trust-item i {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}

.cta-button-wa {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button-wa i {
    font-size: 1.3rem;
}

.cta-button-wa:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 22px 45px rgba(37, 211, 102, 0.4);
}

/* Form card */
.contact-form-container {
    background: rgba(16, 16, 16, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 28px;
    padding: 2.75rem;
    backdrop-filter: blur(12px);
}

.form-header {
    margin-bottom: 2.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.5rem;
}

.form-header h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.4rem;
}

.form-header p {
    color: #555;
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1.1rem;
    color: #3a3a3a;
    font-size: 0.9rem;
    z-index: 1;
    transition: color 0.3s ease;
    pointer-events: none;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.95rem 1.2rem 0.95rem 2.9rem;
    border-radius: 14px;
    color: white;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    outline: none;
    resize: none;
    -webkit-appearance: none;
}

.input-group textarea {
    line-height: 1.6;
    padding-top: 0.95rem;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #333;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--color-accent);
    background: rgba(255, 107, 0, 0.03);
}

.input-group:focus-within i {
    color: var(--color-accent);
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFB600 100%);
    color: white;
    border: none;
    padding: 1.1rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 28px rgba(255, 107, 0, 0.25);
    margin-top: 0.5rem;
    letter-spacing: 0.3px;
}

.submit-button:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 45px rgba(255, 107, 0, 0.4);
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        position: static;
        text-align: center;
    }

    .contact-trust {
        align-items: center;
    }

    .cta-button-wa {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}