/* ── Landing LexStudio ───────────────────────────────────── */

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

/* HERO */
.hero {
    padding: 140px 20px;
    text-align: center;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    min-height: 90px;
}

#typing {
    background: linear-gradient(90deg, #38bdf8, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-right: 2px solid rgba(255,255,255,0.7);
    padding-right: 6px;
}

.hero-sub {
    margin-top: 20px;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* BOTÓN */
.btn-modern {
    display: inline-block;
    margin-top: 30px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    padding: 14px 26px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.btn-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(56,189,248,0.6);
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* CARDS */
.glass {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
}

.glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.glass.text-start {
    text-align: left;
}

/* SECTION */
.section {
    padding: 100px 20px;
    position: relative;
    z-index: 1;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
}

/* PARTICLES */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #38bdf8;
    border-radius: 50%;
    animation: floatParticles linear infinite;
}

@keyframes floatParticles {
    from { transform: translateY(100vh); }
    to   { transform: translateY(-10vh); }
}

.hero {
    position: relative;
    z-index: 1;
}

/* LINKS POLÍTICAS */
.link-policy {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #38bdf8;
    text-decoration: none;
}

.link-policy:hover {
    text-decoration: underline;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15,23,42,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 18px;
    border-radius: 12px;
    z-index: 999;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.btn-cookie {
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-cookie:hover {
    opacity: 0.9;
}
