:root {
    --bg-dark: #070B19;
    --navy-blue: #11224E;
    --navy-dark: #0c1633;
    --red-us: #ce1434;
    --gold: #d4af37;
    --gold-light: #f5d76e;
    --text-main: #f4f7f6;
    --text-muted: #a0aab2;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.section-padding {
    padding: 80px 5%;
}

.btn-primary, .btn-secondary, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-us), #900d24);
    color: #fff;
    box-shadow: 0 4px 15px rgba(206, 20, 52, 0.3);
    border: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(206, 20, 52, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #1ebc59;
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(11, 22, 51, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 5%;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo img {
    height: 45px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--navy-dark);
    z-index: 2000;
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 5% 50px;
    background: radial-gradient(circle at top center, var(--navy-blue) 0%, var(--bg-dark) 80%);
}

.hero::before {
    content: "";
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-image: url('https://images.unsplash.com/photo-1550977186-c4582f211516?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(7,11,25,0) 50%, var(--bg-dark) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin-bottom: 60px;
}

.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
}

.stat-card {
    background: rgba(17, 34, 78, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 250px;
}

.stat-card ion-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

.stat-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.stat-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Section Headings */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--red-us));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.service-card ul {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 25px;
}

.service-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-card ul li strong {
    color: white;
}

.service-card ul li ion-icon {
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}
.service-price span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 5px;
}

/* Styling for new Services Components */
.premium-card {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.segment-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.insight-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.insight-box ion-icon {
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.insight-box span {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-main);
}

.insight-box.small {
    padding: 10px 12px;
    margin-top: auto;
}
.insight-box.small ion-icon {
    font-size: 1.2rem;
}
.insight-box.small span {
    font-size: 0.8rem;
}

.highlight-box {
    animation: highlightPulse 3s infinite ease-in-out;
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 170, 0, 0.2); }
    50% { box-shadow: 0 0 15px 5px rgba(255, 170, 0, 0.1); }
    100% { box-shadow: 0 0 0 0 rgba(255, 170, 0, 0.2); }
}

.service-time {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.2);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.service-time ion-icon {
    color: var(--gold);
}

/* Premium Grid */
.premium-services {
    background-color: var(--navy-dark);
}

.premium-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.mini-card {
    padding: 25px 20px;
}
.mini-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.mini-card ul li {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Value Proposition Section */
.value-prop {
    background: radial-gradient(circle at center, rgba(17, 34, 78, 0.6) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.value-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .value-container {
        flex-direction: row;
        align-items: center;
    }
}

.value-content {
    flex: 1;
}
.value-content h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}
.value-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.v-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.v-icon {
    font-size: 2.5rem;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    flex-shrink: 0;
}
.v-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}
.v-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.value-cta {
    flex: 1;
    display: flex;
    justify-content: center;
}
.cta-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}
.cta-points {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}
.cta-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}
.cta-points ion-icon {
    color: #25D366;
    font-size: 1.2rem;
}
.cta-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 0;
}
.pulse-badge {
    animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.floating-animation {
    animation: floatXY 6s ease-in-out infinite;
}
@keyframes floatXY {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Platforms */
.platforms {
    background-color: var(--navy-dark);
}

.platforms-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

.f-icon {
    font-size: 2rem;
    color: var(--red-us);
}

.platforms-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--navy-blue);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateX(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(17, 34, 78, 0.8);
}

.pc-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-us), #900d24);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(206, 20, 52, 0.4);
}

.pc-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.pc-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.pc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Pulse animation for icons */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(206, 20, 52, 0.3); }
    70% { box-shadow: 0 0 0 15px rgba(206, 20, 52, 0); }
    100% { box-shadow: 0 0 0 0 rgba(206, 20, 52, 0); }
}
.pulse {
    animation: pulse 2s infinite;
}
.pulse.delay {
    animation-delay: 1s;
}

/* Office Section */
.office-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.office-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.office-img img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: var(--transition);
}

.office-img:hover img {
    transform: scale(1.05);
}

.img-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(11, 22, 51, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    font-weight: 600;
    border: 1px solid var(--glass-border);
}

.location-details {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loc-item {
    display: flex;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.loc-item:hover {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}

.loc-item ion-icon {
    font-size: 2rem;
    color: var(--gold);
}

.loc-item strong {
    display: block;
    margin-bottom: 5px;
}

.loc-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #040812;
    padding-top: 80px;
}

.footer-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 5%;
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.footer-cta p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 5%;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-info .footer-logo-b {
    margin-bottom: 15px;
}

.brand-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 300px;
}

.qr-code {
    text-align: center;
}

.qr-code span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qr-code img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    background: white;
    padding: 5px;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 40px;
    padding-top: 20px;
}

/* AI Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-us), #900d24);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(206, 20, 52, 0.4);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(206, 20, 52, 0.6);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    max-height: calc(100vh - 120px);
    background: var(--navy-dark);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.chatbot-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: rgba(17, 34, 78, 0.95);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.ch-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ch-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 2px;
}

.ch-info h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 2px;
}

.ch-info span {
    font-size: 0.75rem;
    color: #25D366;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ch-info span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #25D366;
    border-radius: 50%;
}

.ch-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.ch-close:hover { color: white; }

.chatbot-messages {
    flex: 1;
    background: linear-gradient(180deg, rgba(7,11,25,0.95) 0%, var(--bg-dark) 100%);
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-messages::-webkit-scrollbar { width: 6px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.chat-msg {
    display: flex;
    max-width: 85%;
    align-items: flex-end;
    animation: fadeIn 0.3s ease-out forwards;
}

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

.bot-msg { align-self: flex-start; }
.user-msg { align-self: flex-end; }

.msg-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    word-break: break-word;
}

.bot-msg .msg-bubble {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
}

.user-msg .msg-bubble {
    background: linear-gradient(135deg, var(--navy-blue), #183375);
    color: white;
    border-bottom-right-radius: 4px;
}

.msg-typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 8px 12px !important;
}

.msg-typing span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}
.msg-typing span:nth-child(1) { animation-delay: -0.32s; }
.msg-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.chatbot-input {
    padding: 15px;
    background: rgba(17, 34, 78, 0.95);
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 12px 15px;
    border-radius: 20px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--gold);
}
.chatbot-input input::placeholder { color: var(--text-muted); }

.chatbot-input button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-dark);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chatbot-input button:hover {
    transform: scale(1.05);
    background: var(--gold-light);
}

@media (max-width: 500px) {
    .chatbot-window {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        z-index: 10000;
        transform: translateY(100%);
    }
    .chatbot-window.active {
        transform: translateY(0);
    }
    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
    }
}

/* Animations Trigger Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.5rem; }
    .platforms-container { grid-template-columns: 1fr; }
    .office-wrapper { grid-template-columns: 1fr; }
    .platform-card { padding: 25px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 5%; }
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero { padding-top: 140px; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-stats { flex-direction: column; }
    .stat-card { min-width: 100%; }
    .hero-actions { flex-direction: column; }
    
    .section-heading h2 { font-size: 2.2rem; }
    .platform-card { flex-direction: column; text-align: center; gap: 15px; }
    .pc-icon { margin: 0 auto; }
    
    .footer-grid { flex-direction: column; text-align: center; gap: 40px; }
    .brand-sub { max-width: 100%; margin: 0 auto; }
}

/* ========================================= */
/* AI TOOLS STYLES (Simulador & Analizador) */
/* ========================================= */
.bg-light {
    background-color: #f8f9fa;
    color: #333;
}
.bg-light .navbar { background-color: var(--navy-dark); }
.bg-light p { color: #555; }

.ai-tool-section {
    min-height: calc(100vh - 80px); /* adjusted height */
    padding-top: 120px;
}
.tool-container {
    max-width: 800px;
    margin: 0 auto;
}
.tool-header {
    margin-bottom: 40px;
}
.tool-header h2 {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin: 15px 0;
}
.pulse-badge {
    background: rgba(206, 20, 52, 0.1);
    color: var(--red-us);
    border-color: rgba(206, 20, 52, 0.3);
    animation: glow-red 2s infinite alternate;
}
@keyframes glow-red {
    from { box-shadow: 0 0 5px rgba(206, 20, 52, 0.1); }
    to { box-shadow: 0 0 15px rgba(206, 20, 52, 0.6); }
}

/* Shadows and cards */
.shadow-premium {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Chat Simulator */
.ai-chat-interface {
    flex-direction: column;
    display: flex;
    height: 500px;
}
.ai-chat-interface .chat-messages {
    flex: 1;
    background: #fdfdfd;
    padding: 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-chat-interface .bot-msg .avatar {
    margin-right: 12px;
    font-size: 2rem;
    color: var(--navy-blue);
    align-self: flex-end;
}
.ai-chat-interface .bot-msg .msg-bubble {
    background: #f0f2f5;
    color: #1a1a1a;
    border: none;
    font-size: 1.05rem;
}
.ai-chat-interface .user-msg .msg-bubble {
    background: var(--navy-blue);
    font-size: 1.05rem;
}

.ai-chat-interface .chat-input-area {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
    display: flex;
    gap: 15px;
    align-items: center;
}
.ai-chat-interface .chat-input-area input {
    flex: 1;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 30px;
    border: 1px solid #ddd;
    color: #333;
    transition: all 0.3s;
}
.ai-chat-interface .chat-input-area input:focus {
    outline: none;
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 3px rgba(17,34,78,0.1);
}
.mic-btn, .send-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}
.mic-btn { background: #f0f2f5; color: #555; }
.mic-btn:hover { background: #e4e6eb; }
.mic-btn.recording-active { animation: glow-red 1s infinite alternate; color: var(--red-us); }
.send-btn { background: var(--navy-blue); color: white; }
.send-btn:hover { background: var(--navy-dark); transform: scale(1.05); }

/* Evaluation Panel */
.evaluation-panel {
    padding: 40px;
    background: white;
}
.eval-title {
    color: var(--navy-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.score-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
}
.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #555;
    flex-shrink: 0;
    transition: all 0.5s ease;
}
.score-text h4 { font-size: 1.5rem; margin-bottom: 8px; color: #333;}
.eval-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.eval-card { padding: 20px; border-radius: 12px; }
.eval-card.positive { background: rgba(0,209,178,0.1); border: 1px solid rgba(0,209,178,0.3); }
.eval-card.positive h4 { color: #00d1b2; margin-bottom: 15px; }
.eval-card.warning { background: rgba(255,56,96,0.1); border: 1px solid rgba(255,56,96,0.3); }
.eval-card.warning h4 { color: #ff3860; margin-bottom: 15px; }
.eval-card ul { list-style: none; padding: 0; }
.eval-card ul li { margin-bottom: 10px; display: flex; gap: 8px; font-size: 0.95rem; }

/* Document Analyzer */
.upload-area {
    padding: 60px 20px;
    text-align: center;
    background: #fdfdfd;
    border: 2px dashed #d1d5db;
    transition: all 0.3s;
    cursor: pointer;
}
.upload-area.drag-active {
    border-color: var(--navy-blue);
    background: rgba(17,34,78,0.05);
}
.upload-icon-container { margin-bottom: 20px; }
.upload-icon { font-size: 4rem; color: var(--gold); }
.upload-area h3 { color: var(--navy-dark); font-size: 1.4rem; margin-bottom: 10px; }
.upload-area p { color: #777; font-size: 0.95rem; }
.separator { margin: 25px 0; position: relative; }
.separator::before, .separator::after {
    content: ''; position: absolute; top: 50%; width: 45%; height: 1px; background: #ddd;
}
.separator::before { left: 0; }
.separator::after { right: 0; }
.separator span { background: #fdfdfd; padding: 0 10px; color: #aaa; font-weight: 600; }

.scanning-panel {
    padding: 60px 40px;
    text-align: center;
}
.scanner-viz {
    width: 80px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
    border: 2px solid var(--navy-blue);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    overflow: hidden;
}
.scanner-viz ion-icon { font-size: 3rem; color: #aaa; }
.scan-line {
    position: absolute;
    top: -10px; left: 0; width: 100%; height: 5px;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: scanning 1.5s infinite linear;
}
@keyframes scanning {
    0% { top: -10px; }
    50% { top: 100px; }
    100% { top: -10px; }
}
.loading-text { color: var(--navy-dark); font-size: 1.3rem; margin-bottom: 10px; }
.scan-status-text { color: #666; font-style: italic; margin-bottom: 25px; }
.progress-bar-container { width: 100%; height: 8px; background: #eee; border-radius: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--navy-blue), var(--gold)); width: 0%; transition: width 0.2s; }

.results-panel { padding: 40px; }
.results-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}
.success-icon { font-size: 3rem; color: #00d1b2; margin-bottom: 15px; }
.results-header h3 { color: var(--navy-dark); font-size: 1.8rem; margin-bottom: 8px; }
.findings-container h4, .recommendation-box h4 {
    display: flex; align-items: center; gap: 10px; color: var(--navy-dark); margin-bottom: 15px;
}
.findings-list { list-style: none; padding: 0; }
.findings-list li {
    padding: 15px;
    background: rgba(255,170,0,0.1);
    border-left: 4px solid #ffaa00;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #444;
}
.findings-list li ion-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px;}
.recommendation-box {
    padding: 20px;
    background: rgba(17,34,78,0.05);
    border-radius: 12px;
    border: 1px solid rgba(17,34,78,0.1);
}
.recommendation-box p { color: #333; line-height: 1.6; font-weight: 500;}

/* Simple Footer */
.simple-footer {
    background: var(--navy-dark);
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
}

/* Typing animation setup for chat */
.typing-indicator {
    padding: 15px 25px;
    background: #f0f2f5;
    border-radius: 20px;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #888;
    border-radius: 50%;
    animation: dots 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes dots {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@media (max-width: 768px) {
    .eval-grid { grid-template-columns: 1fr; }
    .score-container { flex-direction: column; text-align: center; }
}

/* Client Auth Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.auth-modal.hidden {
    opacity: 0;
    pointer-events: none;
}
.auth-modal-content {
    background: rgba(18, 25, 38, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
    transition: transform 0.3s ease;
}
.auth-modal.hidden .auth-modal-content {
    transform: translateY(20px);
}
.auth-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #a0aab2;
    cursor: pointer;
    transition: color 0.3s ease;
}
.auth-close:hover {
    color: white;
}
.auth-icon {
    font-size: 3rem;
    color: #ffaa00;
    margin-bottom: 15px;
}
.auth-modal-content h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 10px;
}
.auth-modal-content p {
    font-size: 0.95rem;
    color: #a0aab2;
    margin-bottom: 25px;
    line-height: 1.5;
}
.auth-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.auth-input-group:focus-within {
    border-color: #ffaa00;
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.2);
}
.auth-input-group input {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 15px;
    width: 100%;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}
.auth-input-group button {
    background: linear-gradient(135deg, #ffaa00, #cc8800);
    border: none;
    border-radius: 8px;
    color: white;
    width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.auth-input-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 170, 0, 0.4);
}
.auth-error {
    color: #ff3c3c;
    font-size: 0.85rem;
    margin-top: 10px;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.auth-error.hidden {
    opacity: 0;
    pointer-events: none;
}
