:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #7e22ce;
    --accent: #06b6d4;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f1f5f9;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
}

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

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 20%),
        radial-gradient(circle at 90% 70%, rgba(126, 34, 206, 0.07) 0%, transparent 20%),
        radial-gradient(circle at 50% 40%, rgba(6, 182, 212, 0.05) 0%, transparent 30%);
}
a{
  text-decoration: none;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    font-family: 'Oxanium', cursive;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-links li {
    margin: 0 12px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.login-btn:hover {
    color: var(--accent);
}

.register-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 55%;
    z-index: 2;
}

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

h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Oxanium', cursive;
    font-weight: 700;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 90%;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.secondary-btn {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.secondary-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 60px;
    font-family: 'Oxanium', cursive;
}

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

.feature-card {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: 'Oxanium', cursive;
}

.feature-card p {
    color: #94a3b8;
}
/* === DEMO SECTION (Completo) === */
.demo {
  padding: 100px 0;
  background: rgba(2, 6, 23, 0.4);
  position: relative;
}

.demo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.demo-content {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.demo-content h2 {
  margin-bottom: 20px;
}

/* Lista antigua (si la usas aún) */
.demo-content ul {
  list-style: none;
  margin: 25px 0;
}

.demo-content ul li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.demo-content ul li:before {
  content: "•";
  color: var(--accent);
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Chips de comandos */
.command-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 6px;
}
.chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--light);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Mockup Teléfono */
.phone-mockup {
  flex: 1;
  min-width: 300px;
  position: relative;
  perspective: 1000px;
}

.phone-screen {
  width: 260px;
  height: 520px;
  background: #1e293b;
  border-radius: 30px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 4px solid #334155;
  transform: rotateY(-20deg);
  transition: transform 0.5s;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
}
.phone-screen:hover {
  transform: rotateY(-5deg);
}

.screen-content {
  width: 100%;
  height: 100%;
  background: #0f172a;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Chat */
.chat-container {
  padding: 16px;
  height: calc(100% - 56px); /* deja espacio para la barra de input */
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Burbujas */
.chat-message {
  max-width: 80%;
  padding: 10px 15px;
  margin-bottom: 12px;
  border-radius: 8px;
  position: relative;
  animation: fadeIn 0.35s forwards;
  opacity: 0;
  font-size: 14px;
  line-height: 1.45;
  word-wrap: break-word;
  white-space: pre-line; /* soporta \n */
}

.message-bot {
  background: rgba(37, 99, 235, 0.15);
  border-top-left-radius: 5px;
  align-self: flex-start;
  border-left: 3px solid var(--primary);
}

.message-user {
  background: rgba(126, 34, 206, 0.15);
  border-top-right-radius: 5px;
  align-self: flex-end;
  border-right: 3px solid var(--secondary);
}

/* Código inline dentro de burbujas */
.message-bot code,
.message-user code {
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95em;
}

/* Indicador "escribiendo..." */
.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9cc2ff;
  opacity: 0.7;
  display: inline-block;
  animation: blink 1.2s infinite;
}
.typing .dot:nth-child(2) { animation-delay: 0.15s; }
.typing .dot:nth-child(3) { animation-delay: 0.30s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

/* Barra de input dentro del teléfono */
.chat-input-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(2, 6, 23, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.chat-input-bar input {
  flex: 1;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--light);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}
.chat-input-bar input:focus {
  border-color: rgba(6, 182, 212, 0.6);
}
.chat-input-bar button {
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s;
}
.chat-input-bar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Animaciones */
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Scrollbar (opcional) */
.chat-container::-webkit-scrollbar {
  width: 8px;
}
.chat-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.chat-container::-webkit-scrollbar-track {
  background: transparent;
}

/* Responsivo */
@media (max-width: 992px) {
  .demo-content {
    width: 100%;
    text-align: left;
    padding-right: 0;
    margin-bottom: 28px;
  }
  .phone-screen {
    transform: none;
  }
}

@media (max-width: 480px) {
  .phone-screen {
    width: 240px;
    height: 500px;
  }
  .chip {
    font-size: 13px;
    padding: 7px 10px;
  }
}


/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.2);
}

.pricing-card.featured {
    background: var(--gradient);
    transform: scale(1.05);
    border: none;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Oxanium', cursive;
}

.price {
    font-size: 2.5rem;
    margin: 20px 0;
    font-weight: 700;
    font-family: 'Oxanium', cursive;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.features-list li:before {
    content: "✓";
    color: var(--accent);
    margin-right: 10px;
    font-weight: bold;
}

/* Footer */
footer {
    background: rgba(2, 6, 23, 0.7);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Oxanium', cursive;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-image {
        position: relative;
        width: 80%;
        margin: 40px auto 0;
        transform: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .demo-content, .phone-mockup {
        flex: 100%;
    }
    
    .demo-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .navbar .register-btn {
        display: none;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-buttons {
        display: none;
    }
}

/* Backdrop y modal */
.auth-backdrop {
  position: fixed; inset: 0;
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.auth-backdrop.show { display: flex; }

.auth-modal {
  width: min(560px, 92vw);
  background: rgba(30,41,59,0.9);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.auth-close {
  position: absolute; top: 10px; right: 12px;
  background: transparent; border: 0; color: var(--light);
  font-size: 28px; cursor: pointer; line-height: 1;
  opacity: .8;
}
.auth-close:hover { opacity: 1; }

.auth-title {
  font-family: 'Oxanium', cursive;
  margin: 0 0 14px 0;
}

.auth-tabs {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.auth-tab {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--light);
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
}
.auth-tab.active {
  background: var(--gradient);
  border-color: transparent;
}

.auth-form.hidden { display: none; }

.field { margin-bottom: 12px; }
.field label {
  display: block; margin-bottom: 6px; font-size: 14px; color: #cbd5e1;
}
.field input {
  background: rgba(2,6,23,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--light);
  padding: 12px 14px;
  border-radius: 8px;
  outline: none;
}
.field input:focus { border-color: rgba(6,182,212,0.6); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-submit {
  width: 100%;
  margin-top: 8px;
}

.auth-alert {
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.4);
  color: #fecaca;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

@media (max-width: 520px) {
  .grid-2 { grid-template-columns: 1fr; }
}
/* ===== Drawer móvil ===== */
.mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 1400;
}

.mobile-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(86vw, 320px);
  background: rgba(15, 23, 42, 0.98);
  border-right: 1px solid rgba(255,255,255,0.06);
  transform: translateX(-100%);
  transition: transform .25s ease;
  z-index: 1500;
  display: flex; flex-direction: column;
  padding: 14px 14px 18px;
}

.mobile-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 4px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 12px;
}

.mobile-close-btn {
  background: none; border: none; color: var(--light);
  font-size: 22px; cursor: pointer;
}

.mobile-links {
  list-style: none; padding: 8px 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-links a {
  display: block;
  color: var(--light); text-decoration: none;
  padding: 12px 10px; border-radius: 8px;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .15s;
  font-weight: 500;
}
.mobile-links a:active { transform: scale(0.98); }
.mobile-links a:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}

.mobile-actions {
  margin-top: auto; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: grid; gap: 10px;
}
.mobile-actions .login-btn {
  display: block; text-align: center;
  padding: 12px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}
.mobile-actions .register-btn {
  display: block; text-align: center;
  border-radius: 8px; padding: 12px 14px;
}

/* Estado abierto */
body.drawer-open { overflow: hidden; }
body.drawer-open .mobile-drawer { transform: translateX(0); }
body.drawer-open #mobile-backdrop {
  opacity: 1; pointer-events: auto;
}

/* Visibilidad: sólo en móvil */
@media (min-width: 993px) {
  #mobile-backdrop, #mobile-drawer { display: none !important; }
}:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #7e22ce;
    --accent: #06b6d4;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f1f5f9;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
}

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

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 20%),
        radial-gradient(circle at 90% 70%, rgba(126, 34, 206, 0.07) 0%, transparent 20%),
        radial-gradient(circle at 50% 40%, rgba(6, 182, 212, 0.05) 0%, transparent 30%);
}

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

/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    font-family: 'Oxanium', cursive;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-links li {
    margin: 0 12px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.login-btn:hover {
    color: var(--accent);
}

.register-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 55%;
    z-index: 2;
}

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

h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Oxanium', cursive;
    font-weight: 700;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 90%;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.secondary-btn {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.secondary-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 60px;
    font-family: 'Oxanium', cursive;
}

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

.feature-card {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: 'Oxanium', cursive;
}

.feature-card p {
    color: #94a3b8;
}/* === DEMO SECTION (Pro) === */
.demo {
  padding: clamp(64px, 8vw, 120px) 0;
  background: rgba(2, 6, 23, 0.4);
  position: relative;
}

.demo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
  flex-wrap: wrap;
}

.demo-content {
  flex: 1 1 420px;
  min-width: 300px;
  padding-right: clamp(0px, 3vw, 32px);
}

.demo-content h2 {
  margin-bottom: 16px;
}

/* Chips de comandos */
.command-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 6px;
}
.chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--light);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ============ Teléfono ============ */
.phone-mockup {
  flex: 1 1 380px;
  min-width: 300px;
  display: grid;
  place-items: center;
  perspective: 1400px;
  position: relative;
}

/* Variables del teléfono */
.phone-screen {
  --frame: 12px;         /* grosor del marco */
  --radius: 34px;        /* radio interior */
  --input-h: 56px;       /* alto barra input */
  --status-h: 26px;      /* alto status bar */
  --w: clamp(260px, 32vw, 360px);

  width: var(--w);
  aspect-ratio: 9 / 19.5; /* proporción realista (vertical) */
  padding: var(--frame);
  border-radius: calc(var(--radius) + var(--frame));
  background: linear-gradient(180deg, #121827, #0b1220);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.55),
    0 4px 14px rgba(0,0,0,0.35) inset;
  transform: rotateY(-14deg) rotateX(2deg);
  transition: transform .5s ease, box-shadow .25s ease;
}
.phone-mockup:hover .phone-screen {
  transform: rotateY(-4deg) rotateX(0deg) translateY(-2px);
}

/* Notch / “island” */
.phone-screen::before {
  content: "";
  position: absolute;
  top: calc(var(--frame) * 0.4);
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 18px;
  background: #0b1220;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
  z-index: 3;
}

/* Reflejo de vidrio sutil */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(225deg, rgba(255,255,255,0.07), transparent 40%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: .25;
}

/* Pantalla */
.screen-content {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(130% 130% at 0% 0%, #0b1730 0%, #0c1326 28%, #0a1020 100%);
  display: flex;
  flex-direction: column;
  font-size: clamp(12px, .95vw, 14px);
  color: var(--light);
}

/* Status bar (opcional – ver HTML) */
.status-bar {
  height: var(--status-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #cbd5e1;
  font-size: 0.78rem;
  letter-spacing: .02em;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 2;
}
.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-icons .battery {
  width: 18px; height: 10px; border: 1.5px solid #cbd5e1; border-radius: 2px; position: relative;
}
.status-icons .battery::after {
  content: ""; position: absolute; top: 1px; left: 1px; height: 6px; width: 12px;
  background: #cbd5e1; border-radius: 1px;
}
.status-icons .signal {
  display: inline-grid; grid-template-columns: repeat(4,4px); gap: 2px; align-items: end;
}
.status-icons .signal i { width: 4px; background: #cbd5e1; height: 3px; display: block; }
.status-icons .signal i:nth-child(2){height:6px}
.status-icons .signal i:nth-child(3){height:9px}
.status-icons .signal i:nth-child(4){height:12px}

/* Contenido del chat */
.chat-container {
  padding: 12px 14px 0 14px;
  height: calc(100% - (var(--input-h) + var(--status-h)));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Burbujas */
.chat-message {
  max-width: 80%;
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  position: relative;
  animation: fadeIn .35s forwards;
  opacity: 0;
  font-size: .95em;
  line-height: 1.45;
  word-wrap: break-word;
  white-space: pre-line;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.message-bot {
  background: rgba(37, 99, 235, 0.16);
  align-self: flex-start;
  border-top-left-radius: 6px;
  border-left: 3px solid var(--primary);
}
.message-user {
  background: rgba(126, 34, 206, 0.16);
  align-self: flex-end;
  border-top-right-radius: 6px;
  border-right: 3px solid var(--secondary);
}

/* Código inline dentro de burbujas */
.message-bot code,
.message-user code {
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95em;
}

/* Indicador "escribiendo..." */
.typing {
  display: inline-flex; gap: 4px; align-items: center;
}
.typing .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #9cc2ff; opacity: .7; display: inline-block;
  animation: blink 1.2s infinite;
}
.typing .dot:nth-child(2){animation-delay:.15s}
.typing .dot:nth-child(3){animation-delay:.30s}
@keyframes blink { 0%,80%,100%{opacity:.2} 40%{opacity:1} }
@keyframes fadeIn { to { opacity: 1; } }

/* Barra de input */
.chat-input-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 8px;
  padding: 10px;
  background: rgba(2, 6, 23, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  height: var(--input-h);
}
.chat-input-bar input {
  flex: 1;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--light);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.chat-input-bar input:focus {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}
.chat-input-bar button {
  min-width: 88px;
  background: var(--gradient);
  border: none; color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer; font-weight: 700;
  transition: transform .15s, box-shadow .2s;
}
.chat-input-bar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Indicador Home (estilo iOS) */
.screen-content::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: calc(var(--input-h) * .12);
  width: 36%; height: 5px; border-radius: 4px;
  background: rgba(255,255,255,0.18);
  z-index: 1; pointer-events: none;
}

/* Scrollbar */
.chat-container::-webkit-scrollbar { width: 8px; }
.chat-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 8px; }
.chat-container::-webkit-scrollbar-track { background: transparent; }

/* Responsivo */
@media (max-width: 992px) {
  .demo-content { width: 100%; padding-right: 0; margin-bottom: 18px; }
  .phone-screen { transform: none; }
}
@media (max-width: 480px) {
  .chip { font-size: 13px; padding: 7px 10px; }
  .chat-message { font-size: .92em; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .phone-mockup:hover .phone-screen { transform: none; }
  .phone-screen { transition: none; }
}



/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.2);
}

.pricing-card.featured {
    background: var(--gradient);
    transform: scale(1.05);
    border: none;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Oxanium', cursive;
}

.price {
    font-size: 2.5rem;
    margin: 20px 0;
    font-weight: 700;
    font-family: 'Oxanium', cursive;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.features-list li:before {
    content: "✓";
    color: var(--accent);
    margin-right: 10px;
    font-weight: bold;
}

/* Footer */
footer {
    background: rgba(2, 6, 23, 0.7);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Oxanium', cursive;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-image {
        position: relative;
        width: 80%;
        margin: 40px auto 0;
        transform: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .demo-content, .phone-mockup {
        flex: 100%;
    }
    
    .demo-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .navbar .register-btn {
        display: none;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-buttons {
        display: none;
    }
}
