/* ============================================ */
/* S_HELP_TECH - Styles Responsive              */
/* ============================================ */

:root {
    --blue: #1A73E8;
    --blue-dark: #1557B0;
    --purple: #7C3AED;
    --purple-dark: #6D28D9;
    --green: #10B981;
    --red: #EA4335;
    --orange: #FF6D00;
    --bg: #f8fafc;
    --white: #fff;
    --text: #1E293B;
    --text-light: #64748B;
    --border: #E2E8F0;
    --shadow: 0 4px 15px rgba(0,0,0,.06);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.1);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* ============================================ */
/* TOP BAR                                     */
/* ============================================ */
.topbar {
    background: #1E293B;
    color: #CBD5E1;
    padding: 8px 0;
    font-size: 0.75rem;
    display: none;
}
.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar a {
    color: #CBD5E1;
    text-decoration: none;
    margin-right: 15px;
    transition: var(--transition);
    white-space: nowrap;
}
.topbar a:hover { color: white; }
.topbar i { margin-right: 4px; }

@media (min-width: 768px) {
    .topbar { display: block; }
}

/* ============================================ */
/* HEADER                                      */
/* ============================================ */
#header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1rem;
}
.logo-text { display: flex; align-items: center; gap: 5px; }
.logo-name { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.logo-badge {
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav { display: none; }
nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    gap: 5px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-link:hover { background: #EEF2FF; color: var(--blue); }

.header-actions { display: flex; gap: 8px; align-items: center; }
.btn-header-wa {
    background: #25D366;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}
.btn-header-admin {
    width: 34px; height: 34px;
    background: #1E293B;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    font-size: 0.7rem;
}
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    padding: 5px;
}

@media (min-width: 900px) {
    nav { display: flex; gap: 3px; }
    .mobile-menu-btn { display: none; }
    .logo-name { font-size: 1.3rem; }
    .logo-icon { width: 42px; height: 42px; font-size: 1.2rem; }
    nav.active { position: static; flex-direction: row; padding: 0; box-shadow: none; }
}

/* ============================================ */
/* HERO                                        */
/* ============================================ */
.hero {
    background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 50%, #FFF7ED 100%);
    padding: 40px 0 0;
    position: relative;
    overflow: hidden;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}
.hero-content { max-width: 100%; }

.hero-badge {
    display: inline-block;
    background: white;
    border: 2px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.hero-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    width: 100%;
}
.btn-hero-primary, .btn-hero-secondary {
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}
.btn-hero-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: white;
    box-shadow: 0 8px 25px rgba(26,115,232,.3);
}
.btn-hero-secondary {
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
}
.hero-stats { display: flex; gap: 25px; justify-content: center; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 1.5rem; font-weight: 800; color: var(--blue); display: block; }
.hero-stat-label { font-size: 0.7rem; color: var(--text-light); }

.hero-image { display: none; }

.hero-wave { margin-top: 30px; line-height: 0; }
.hero-wave svg { width: 100%; height: 50px; }

@media (min-width: 768px) {
    .hero { padding: 60px 0 0; }
    .hero-container { flex-direction: row; text-align: left; gap: 40px; }
    .hero-content { flex: 1; }
    .hero-title { font-size: 2.5rem; }
    .hero-desc { font-size: 1rem; }
    .hero-buttons { flex-direction: row; width: auto; }
    .btn-hero-primary, .btn-hero-secondary { width: auto; }
    .hero-image { display: flex; flex: 1; justify-content: center; }
    .hero-stat-number { font-size: 2rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 3rem; }
}

/* ============================================ */
/* TRUST SECTION                               */
/* ============================================ */
.trust-section { padding: 30px 0; background: var(--white); }
.trust-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}
.trust-item i { font-size: 1.3rem; color: var(--blue); }
.trust-item strong { display: block; font-size: 0.8rem; }
.trust-item span { font-size: 0.7rem; color: var(--text-light); }

@media (min-width: 768px) {
    .trust-container { grid-template-columns: repeat(4, 1fr); }
    .trust-item i { font-size: 1.8rem; }
    .trust-item strong { font-size: 0.9rem; }
}

/* ============================================ */
/* SECTIONS                                    */
/* ============================================ */
.services-section, .pricing-section, .testimonials-section, .contact-section {
    padding: 50px 0;
}
.section-header { text-align: center; margin-bottom: 30px; padding: 0 15px; }
.section-badge {
    display: inline-block;
    background: #EEF2FF;
    color: var(--blue);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.section-header h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.section-header p { color: var(--text-light); font-size: 0.9rem; }

@media (min-width: 768px) {
    .section-header h2 { font-size: 2rem; }
}

/* ============================================ */
/* SERVICES GRID                               */
/* ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
}
@media (min-width: 500px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto; }
}

/* ============================================ */
/* CHATBOT                                     */
/* ============================================ */
.diagnostic-section { padding: 50px 0; background: linear-gradient(180deg, var(--bg), white); }
.chatbot-wrapper { max-width: 100%; margin: 0 auto; padding: 0 15px; }

.chat-switch { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.chat-switch-btn {
    padding: 8px 18px;
    border: 2px solid var(--border);
    border-radius: 25px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: inherit;
}
.chat-switch-btn.active { background: var(--blue); color: white; border-color: var(--blue); }

.chat-window {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
}
.chat-window.active { display: block; }
.chat-window-header { padding: 12px 15px; color: white; }
.bg-blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.bg-purple { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); }
.chat-agent { display: flex; align-items: center; gap: 10px; }
.agent-avatar {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.chat-agent strong { display: block; font-size: 0.85rem; }
.chat-agent span { font-size: 0.65rem; opacity: 0.8; }

.chat-messages {
    padding: 15px;
    min-height: 250px;
    max-height: 350px;
    overflow-y: auto;
    background: #F8FAFC;
}
.message { display: flex; gap: 8px; margin-bottom: 12px; }
.message-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.message.bot .message-avatar { background: #E8F0FE; }
.message.user { flex-direction: row-reverse; }
.message.user .message-avatar { background: var(--blue); color: white; }
.message-bubble {
    background: white;
    border: 1px solid var(--border);
    border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
    padding: 10px 14px;
    max-width: 85%;
    font-size: 0.85rem;
    word-wrap: break-word;
}
.message.user .message-bubble {
    background: var(--blue);
    color: white;
    border: none;
    border-radius: var(--radius-sm) 0 var(--radius-sm) var(--radius-sm);
}
.message-examples { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.message-examples span {
    background: #F1F5F9;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    cursor: pointer;
}
.message-examples span:hover { background: var(--blue); color: white; }

.chat-input-area { display: flex; gap: 8px; padding: 12px 15px; border-top: 1px solid var(--border); }
.chat-input-area input {
    flex: 1;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    width: 100%;
}
.chat-input-area input:focus { border-color: var(--blue); }
.chat-input-area button {
    width: 40px; height: 40px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .chatbot-wrapper { max-width: 700px; }
}

/* ============================================ */
/* PRICING                                     */
/* ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
}
.price-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    position: relative;
}
.price-card.popular { border-color: var(--blue); }
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}
.price-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.price-card-header i { font-size: 1.5rem; color: var(--blue); }
.price-card-header h3 { font-size: 1.1rem; }
.price-list { list-style: none; }
.price-list li {
    display: flex; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid #F1F5F9;
    font-size: 0.85rem; flex-wrap: wrap; gap: 5px;
}
.price-list li strong { color: var(--blue); }
.price-list li strong.free { color: var(--green); }

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; max-width: 900px; margin: 0 auto; }
}

/* ============================================ */
/* TESTIMONIALS                                */
/* ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
}
.testimonial-card {
    background: var(--bg);
    padding: 20px;
    border-radius: var(--radius);
}
.testimonial-stars { margin-bottom: 8px; font-size: 1rem; }
.testimonial-card p { font-size: 0.85rem; margin-bottom: 12px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
    width: 35px; height: 35px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem;
}
.testimonial-author strong { display: block; font-size: 0.8rem; }
.testimonial-author span { font-size: 0.7rem; color: var(--text-light); }

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }
}

/* ============================================ */
/* CTA                                         */
/* ============================================ */
.cta-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    text-align: center;
    color: white;
}
.cta-content { padding: 0 15px; }
.cta-content h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.cta-content p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 20px; }
.cta-buttons { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.btn-cta-primary, .btn-cta-secondary {
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
}
.btn-cta-primary { background: white; color: var(--blue); }
.btn-cta-secondary { background: rgba(255,255,255,.2); color: white; }

@media (min-width: 768px) {
    .cta-content h2 { font-size: 2rem; }
    .cta-buttons { flex-direction: row; justify-content: center; }
    .btn-cta-primary, .btn-cta-secondary { width: auto; }
}

/* ============================================ */
/* CONTACT                                     */
/* ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 15px;
}
.contact-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
}
.contact-card i { font-size: 1.5rem; margin-bottom: 8px; color: var(--blue); }
.contact-card.wa-card { border-color: #25D366; }
.contact-card.wa-card i { color: #25D366; }
.contact-card h3 { font-size: 1rem; margin-bottom: 5px; }
.contact-card p { font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; }
.contact-card span { color: var(--text-light); font-size: 0.75rem; display: block; }
.contact-card a {
    display: inline-block;
    padding: 8px 18px;
    background: var(--blue);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 5px;
}
.contact-card.wa-card a { background: #25D366; }

@media (min-width: 500px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .contact-grid { grid-template-columns: repeat(4, 1fr); max-width: 1000px; margin: 0 auto; }
}

/* ============================================ */
/* FOOTER                                      */
/* ============================================ */
footer {
    background: #1E293B;
    color: #CBD5E1;
    padding: 40px 15px 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}
.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}
.footer-col p { font-size: 0.8rem; margin-bottom: 6px; }
.footer-col h4 { color: white; margin-bottom: 12px; font-size: 0.9rem; }
.footer-col a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.8rem;
    margin-bottom: 6px;
}
.footer-col a:hover { color: white; }
.footer-social { display: flex; gap: 8px; margin-top: 10px; }
.footer-social a {
    width: 32px; height: 32px;
    background: #334155;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.footer-social a:hover { background: var(--blue); }
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #334155;
    font-size: 0.75rem;
}
.footer-bottom a { color: #93C5FD; }

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: 0 auto 25px; }
}

/* ============================================ */
/* FLOATING BUTTONS                            */
/* ============================================ */
.floating-wa {
    position: fixed;
    bottom: 20px; right: 15px;
    width: 55px; height: 55px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(37,211,102,.4);
    z-index: 999;
    text-decoration: none;
}
.floating-pulse {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.4;
    animation: waPulse 2s infinite;
}
@keyframes waPulse {
    0%{transform:scale(1);opacity:0.4}
    100%{transform:scale(1.6);opacity:0}
}
.floating-ai {
    position: fixed;
    bottom: 85px; right: 15px;
    width: 45px; height: 45px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(124,58,237,.4);
    z-index: 999;
    text-decoration: none;
}

/* ============================================ */
/* ANIMATIONS                                  */
/* ============================================ */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.animate-fadeIn { animation: fadeIn 0.6s ease; }
.animate-slideUp { animation: slideUp 0.6s ease; }

/* ============================================ */
/* MOBILE MENU JS                              */
/* ============================================ */