* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff6b00;
    --primary-dark: #e05a00;
    --secondary: #1683ba;
    --dark: #1e2a3a;
    --light: #f8f9fa;
    --gray: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary, .btn-secondary, .btn-plan, .btn-demo {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
    margin: 0.5rem;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Planes */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.popular {
    border: 2px solid var(--primary);
}

.popular-badge {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header {
    background: var(--dark);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 1.5rem;
}

.plan-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features i.fa-check {
    color: #28a745;
}

.plan-features i.fa-times {
    color: #dc3545;
}

.btn-plan {
    display: block;
    background: var(--primary);
    color: white;
    text-align: center;
    margin: 1rem;
    padding: 0.8rem;
    border-radius: 50px;
}

.btn-plan:hover {
    background: var(--primary-dark);
}

/* Demo */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.demo-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.demo-card:hover {
    transform: translateY(-5px);
}

.demo-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.demo-card h3 {
    margin-bottom: 1rem;
}

.btn-demo {
    background: var(--secondary);
    color: white;
    display: inline-block;
    margin-top: 1rem;
}

.btn-demo:hover {
    background: #0f6a8c;
}

/* Contacto */
.contacto {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
}

.contacto .section-title {
    color: white;
}

.contacto-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Footer */
.footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
}

/* Chatbot */
.chatbot-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    font-weight: bold;
}

.chatbot-modal {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1001;
    overflow: hidden;
    font-family: sans-serif;
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#close-chatbot {
    cursor: pointer;
    font-size: 1.2rem;
}

.chatbot-body {
    padding: 15px;
}

.chatbot-body .form-group {
    margin-bottom: 1rem;
}

.chatbot-body input, .chatbot-body textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.chatbot-body button {
    width: 100%;
}

.chatbot-mensaje {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .plans-grid {
        grid-template-columns: 1fr;
    }
}