:root {
    --primary: #335368; /* Los Faroles Teal */
    --secondary: #2c3e50;
    --accent: #f39c12; /* Sunset Orange */
    --dark: #2c3e50;
    --background: #f4f7f6; /* Sandy White */
    --text: #2c3e50;
    --text-muted: #5d6d7e;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(51, 83, 104, 0.1);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

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

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

.glass {
    background: var(--glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    margin: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    height: 40px;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.cta-nav {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600 !important;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(243, 156, 18, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(51, 83, 104, 0.05), transparent);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary);
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s transform;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-5px);
}

.btn.primary {
    background: var(--primary);
    color: white;
}

.btn.secondary {
    background: white;
    border: 1px solid var(--glass-border);
    color: var(--primary);
}

.hero-image {
    flex: 1;
    position: relative;
}

.mockup-container img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    filter: drop-shadow(0 20px 40px rgba(51, 83, 104, 0.15));
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary);
}

.section-title span {
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
    background: #fff;
    border: 1px solid #f0f0f0;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary);
}

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

/* Demo Section */
.demo-section {
    padding: 100px 0;
    background: var(--background);
}

.demo-wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
}

.demo-info {
    flex: 1;
}

.demo-info h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.demo-info span {
    color: var(--accent);
}

.demo-features {
    list-style: none;
    margin-top: 30px;
}

.demo-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.demo-features i {
    color: var(--primary);
}

/* Chat UI (Light Version) */
.chat-demo {
    flex: 1;
    height: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 450px;
    background: white;
}

.chat-header {
    padding: 20px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid white;
}

.chat-status {
    font-size: 0.8rem;
    color: #4cd137;
    font-weight: 600;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f9fbfb;
}

.message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 0.95rem;
}

.message.bot {
    align-self: flex-start;
    background: white;
    color: var(--text);
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.message.client {
    align-self: flex-end;
    background: var(--primary);
    color: white;
}

.chat-input-area {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    background: #f0f2f5;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 12px 20px;
    color: var(--text);
    outline: none;
}

.chat-input-area button {
    background: var(--primary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

/* Footer Minimalista */
footer {
    padding: 60px 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.minimalist-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links-simple {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.footer-links-simple a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: 0.3s;
}

.footer-links-simple a:hover {
    color: var(--accent);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

@media (max-width: 992px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-btns { justify-content: center; }
    .demo-wrapper { flex-direction: column; }
    .chat-demo { width: 100%; max-width: 100%; }
}
/* Tech Config Styles */
.tech-card {
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(51, 83, 104, 0.05);
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
}

.tech-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 10px;
    background: rgba(51, 83, 104, 0.03);
    border-radius: 15px;
    justify-content: center;
}

.tab-btn {
    padding: 12px 25px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(51, 83, 104, 0.1);
}

.tech-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.tech-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.tech-input {
    background: white;
    border: 1.5px solid #edf1f3;
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text);
    font-family: inherit;
    transition: 0.3s;
}

.tech-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(51, 83, 104, 0.05);
    outline: none;
}

.tech-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(51, 83, 104, 0.05);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.tech-info-panel {
    background: rgba(51, 83, 104, 0.02);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 25px;
}

.tech-info-panel h4 {
    margin-bottom: 8px;
    color: var(--primary);
}

.save-status {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: #4cd137;
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(76, 209, 55, 0.2);
    transform: translateY(100px);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
}

.save-status.show {
    transform: translateY(0);
}

.tab-content {
    display: none;
    animation: slideIn 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

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

@media (max-width: 768px) {
    .tech-form-grid { grid-template-columns: 1fr; }
}
