@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --bg-color: #080410;
    --surface-color: #150a26;
    --surface-accent: #231244;
    --text-primary: #ffffff;
    --text-secondary: #c2b0d9;
    --primary: #9d50bb;
    --primary-glow: rgba(157, 80, 187, 0.4);
    --accent: #6e48aa;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Tier Colors */
    --bronce: #cd7f32;
    --bronce-glow: rgba(205, 127, 50, 0.4);
    --plata: #c0c0c0;
    --plata-glow: rgba(192, 192, 192, 0.4);
    --oro: #ffd700;
    --oro-glow: rgba(255, 215, 0, 0.6);
    --oro-text: #5a4b00;
}

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

body {
    background: linear-gradient(rgba(8, 4, 16, 0.8), rgba(8, 4, 16, 0.8)), url('employees-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--surface-accent);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3.5rem;
    text-align: center;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(5, 10, 21, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #050a15;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px var(--primary-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 229, 255, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 550px;
}

.hero-image {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    z-index: 5;
    opacity: 0.8;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    filter: drop-shadow(0 0 50px var(--primary-glow));
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--surface-accent);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Plans Section */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    perspective: 2000px;
}

.plan-wrapper {
    perspective: 2000px;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.01); /* Forces a solid hit area */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

.plan-wrapper.active {
    z-index: 10;
    transform: scale(1.1);
}

.plan-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    height: 100%;
}

.plan-card > * {
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plan-wrapper.active .plan-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotateY(360deg);
}

/* Tier Specific Styles */
.plan-inicio {
    border: 1px solid var(--primary);
}
.plan-inicio .plan-speed, .plan-inicio .plan-features li::before {
    color: var(--primary);
}
.plan-wrapper.active .plan-inicio {
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--primary-glow);
}
.plan-bronce {
    border: 1px solid var(--bronce);
}
.plan-bronce .plan-speed, .plan-bronce .plan-features li::before {
    color: var(--bronce);
}
.plan-wrapper.active .plan-bronce {
    border-color: var(--bronce);
    box-shadow: 0 15px 40px var(--bronce-glow);
}

.plan-plata {
    border: 1px solid var(--plata);
}
.plan-plata .plan-speed, .plan-plata .plan-features li::before {
    color: var(--plata);
}
.plan-wrapper.active .plan-plata {
    border-color: var(--plata);
    box-shadow: 0 15px 40px var(--plata-glow);
}

.plan-oro {
    border: 1px solid var(--oro);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, var(--surface-color) 100%);
}
.plan-oro .plan-speed, .plan-oro .plan-features li::before {
    color: var(--oro);
}
.plan-wrapper.active .plan-oro {
    border-color: var(--oro);
    box-shadow: 0 15px 50px var(--oro-glow);
}

.plan-oro-plus {
    border: 2px solid var(--oro);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, var(--surface-color) 100%);
    position: relative;
    overflow: hidden;
}
.plan-oro-plus::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.plan-oro-plus .plan-speed, .plan-oro-plus .plan-features li::before {
    color: var(--oro);
    text-shadow: 0 0 10px var(--oro-glow);
}
.plan-wrapper.active .plan-oro-plus {
    border-color: var(--oro);
    box-shadow: 0 20px 60px var(--oro-glow);
}

/* Promo Banner */
.promo-exclusive {
    margin-top: 6rem;
    background: linear-gradient(90deg, #1a0b2e 0%, #3d1a6b 50%, #1a0b2e 100%);
    border-radius: 40px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.promo-exclusive::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-glow);
    filter: blur(100px);
    top: -150px;
    right: -100px;
    border-radius: 50%;
}

.promo-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.promo-badge {
    background: #e91e63;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.promo-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.1;
}

.promo-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.promo-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.promo-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transform: perspective(1000px) rotateY(-10deg);
    animation: promoFloat 5s ease-in-out infinite;
}

@keyframes promoFloat {
    0% { transform: perspective(1000px) rotateY(-10deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-5deg) translateY(-20px); }
    100% { transform: perspective(1000px) rotateY(-10deg) translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 992px) {
    .promo-exclusive {
        flex-direction: column;
        padding: 3rem 2rem;
        text-align: center;
    }
    .promo-content h2 {
        text-align: center;
        font-size: 2.5rem;
    }
    .promo-image {
        margin-top: 2rem;
    }
}

.router-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transform: translateZ(50px);
}

.router-img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

.plan-wrapper.active .plan-card.popular {
    transform: rotateY(360deg);
}

.plan-card.popular {
    background: linear-gradient(180deg, var(--surface-accent) 0%, var(--surface-color) 100%);
    border: 1px solid var(--primary);
}


.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #050a15;
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.plan-speed {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.plan-speed span {
    font-size: 1.5rem;
    font-weight: 600;
}

.plan-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.plan-price sub {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

/* 3D Parallax Hover Effects */
.plan-wrapper.active .router-container {
    transform: translateZ(80px) scale(1.15);
}

.plan-wrapper.active .plan-speed {
    transform: translateZ(60px);
}

.plan-wrapper.active .plan-desc {
    transform: translateZ(30px);
}

.plan-wrapper.active .plan-price {
    transform: translateZ(50px);
}

.plan-wrapper.active .cta-btn {
    transform: translateZ(70px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.plan-features li {
    padding: 0.7rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.plan-features li::before {
    content: '→';
    color: var(--primary);
    font-weight: 800;
}

/* Footer */
footer {
    padding: 80px 0;
    background: #03070d;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    list-style: none;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary);
}

.social-links {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #555;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-20px); }
    100% { transform: translateY(-50%) translateX(0); }
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-image {
        display: none;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero h1 {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }
    .plan-wrapper.active .plan-card {
        transform: rotateY(360deg);
    }
    .plan-wrapper.active .plan-card.popular {
        transform: rotateY(360deg);
    }
}

/* Modal Beneficios */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface-color);
    border: 1px solid var(--primary);
    border-radius: 24px;
    padding: 3rem;
    max-width: 550px;
    width: 90%;
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--primary-glow);
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.benefit-item .b-icon {
    font-size: 2rem;
}

.benefit-item h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Welcome Modal Overlay */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 21, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

.welcome-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.welcome-content {
    text-align: center;
    background: var(--surface-color);
    padding: 5rem 4rem;
    border-radius: 30px;
    border: 1px solid var(--primary);
    box-shadow: 0 0 80px var(--primary-glow);
    transform: scale(0.9) translateY(20px);
    animation: welcomePop 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    max-width: 800px;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.welcome-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(157, 80, 187, 0.2) 0%, transparent 60%);
    animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes welcomePop {
    100% { transform: scale(1) translateY(0); }
}

.welcome-logo {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.welcome-logo span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.welcome-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.welcome-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

.welcome-btn {
    font-size: 1.4rem;
    padding: 1.2rem 3rem;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .welcome-title { font-size: 2.5rem; }
    .welcome-subtitle { font-size: 1.2rem; }
    .welcome-content { padding: 3rem 2rem; }
}

/* Floating Mascot */
.floating-mascot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: flex-end;
    z-index: 1000;
    animation: floatMascot 4s ease-in-out infinite;
}

.mascot-img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.mascot-bubble {
    background: var(--surface-color);
    border: 2px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    border-bottom-right-radius: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(157, 80, 187, 0.3);
    margin-right: -10px;
    margin-bottom: 80px;
    position: relative;
    white-space: nowrap;
}

.mascot-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 15px;
    width: 20px;
    height: 20px;
    background: var(--surface-color);
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    transform: rotate(45deg);
}

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

@media (max-width: 768px) {
    .floating-mascot-container {
        bottom: 15px;
        right: 15px;
        transform: scale(0.8);
    }
}

/* Chat Window */
.floating-mascot-container {
    cursor: pointer;
}

.chat-window {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--surface-color);
    border: 1px solid var(--primary);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 20px var(--primary-glow);
    z-index: 1001;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: bottom right;
}

.chat-window.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.1);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-color);
    padding: 2px;
}

.chat-header h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.status-online {
    color: #4cd137;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.status-online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4cd137;
    border-radius: 50%;
    display: inline-block;
}

.chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}
.chat-close:hover {
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0,0,0,0.2);
}

.msg-bot, .msg-user {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    animation: popIn 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.msg-bot {
    background: rgba(157, 80, 187, 0.2);
    border: 1px solid rgba(157, 80, 187, 0.4);
    color: var(--text-primary);
    align-self: flex-start;
    border-top-left-radius: 0;
}

.msg-user {
    background: var(--primary);
    color: #fff;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.msg-bot.typing {
    font-style: italic;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
}

.chat-link-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
}
.chat-link-btn:hover {
    background: #fff;
    color: var(--accent);
}

.chat-input-area {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--glass-border);
    background: var(--surface-color);
}

#chatInput {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

#chatInput:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-send-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}
.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

@keyframes popIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 400px) {
    .chat-window {
        width: calc(100% - 40px);
        bottom: 20px;
        right: 20px;
        height: 400px;
    }
}
