:root {
    --bg-deep: #05070a;
    --bg-card: #0f172a;
    --accent-blue: #00f0ff;
    --accent-orange: #ff7b00;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border: rgba(255,255,255,0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; }
a { color: var(--accent-blue); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--accent-orange); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.dark { background: rgba(15,23,42,0.5); }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* NAVBAR */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(5,7,10,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.3rem; font-weight: 700; color: var(--text-primary); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: var(--text-secondary); font-weight: 500; }
.nav-links a:hover { color: var(--accent-blue); }

/* HERO */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at center, #0a1020 0%, #05070a 100%);
    position: relative;
}
.hero-content h1 {
    font-size: 3.5rem; margin-bottom: 1rem;
    background: linear-gradient(to right, #f8fafc, #00f0ff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BOTONES */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
}
.btn-primary { background: var(--accent-orange); color: white; }
.btn-primary:hover { background: #ff9500; color: white; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255,123,0,0.4); }
.btn-secondary { background: transparent; border: 2px solid var(--accent-blue); color: var(--accent-blue); }
.btn-secondary:hover { background: var(--accent-blue); color: var(--bg-deep); }
.btn.full { width: 100%; text-align: center; }

/* CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { background: var(--bg-card); padding: 2rem; border-radius: 12px; border: 1px solid var(--border); transition: 0.3s; }
.card:hover { transform: translateY(-5px); border-color: var(--accent-blue); }
.card h3 { color: var(--accent-blue); margin-bottom: 1rem; }

/* DEMO */
.demo-canvas { width: 100%; height: 500px; background: var(--bg-card); border-radius: 12px; border: 1px solid rgba(0,240,255,0.2); overflow: hidden; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 800px; margin: 0 auto; }
.pricing-card { background: var(--bg-card); padding: 2.5rem; border-radius: 12px; text-align: center; border: 1px solid var(--border); position: relative; }
.pricing-card.pro { border-color: var(--accent-orange); box-shadow: 0 0 30px rgba(255,123,0,0.15); }
.pricing-card.pro::before { content: "RECOMENDADO"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-orange); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; letter-spacing: 1px; }
.price { font-size: 3rem; font-weight: 700; margin: 1rem 0; }
.price span { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }
.features { list-style: none; margin: 2rem 0; text-align: left; }
.features li { margin-bottom: 0.8rem; color: var(--text-secondary); }
.features li::before { content: "✓"; color: var(--accent-blue); margin-right: 10px; font-weight: bold; }
.small { font-size: 0.9rem; color: var(--text-secondary); margin-top: 1rem; }

/* CONTACTO */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
details { margin-bottom: 1rem; cursor: pointer; padding: 1rem; background: var(--bg-card); border-radius: 8px; }
summary { color: var(--accent-blue); font-weight: 600; }
details p { margin-top: 0.5rem; color: var(--text-secondary); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-secondary); font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px; background: var(--bg-deep);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 6px;
    color: var(--text-primary); font-family: inherit; font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-blue); }
.form-status { margin-top: 1rem; text-align: center; }

/* FOOTER */
footer { background: #020305; padding: 3rem 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-secondary); }
.footer-links { margin-top: 1rem; }
.footer-links a { margin: 0 10px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent-blue); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.8rem; }
}
