/* ═══════════════════════════════════════════════════════════
   KUASAR — Landing Page Styles
   Cargado después de global.css. Usa sus variables CSS.
   ═══════════════════════════════════════════════════════════ */

/* ── Animations ────────────────────────────────────────────── */
@keyframes lp-fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}
@keyframes lp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(1.3); }
}

/* ── Header ────────────────────────────────────────────────── */
.lp-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: transparent;
    transition: background .25s ease, border-color .25s ease;
}
.lp-header.scrolled {
    background: rgba(28, 28, 28, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}
.lp-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-logo img {
    height: 36px;
    display: block;
}

/* ── Hero ──────────────────────────────────────────────────── */
.lp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
    overflow: hidden;
    position: relative;
}
.lp-hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,174,0,.06) 0%, transparent 70%);
    pointer-events: none;
}
.lp-hero .container {
    display: flex;
    align-items: center;
    gap: 56px;
}
.lp-hero-text {
    flex: 1;
    max-width: 580px;
}
.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(249,174,0,.08);
    border: 1px solid rgba(249,174,0,.2);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 28px;
    animation: lp-fadeUp .7s ease both;
}
.lp-hero-badge .pulse {
    width: 8px; height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    animation: lp-pulse 2s ease-in-out infinite;
}
.lp-hero-text h1 {
    font-size: clamp(36px, 5.5vw, 62px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.03em;
    margin-bottom: 20px;
    animation: lp-fadeUp .7s ease .1s both;
}
.lp-hero-text > p {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
    animation: lp-fadeUp .7s ease .2s both;
}
.lp-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: lp-fadeUp .7s ease .3s both;
}
.lp-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lp-hero-image img {
    max-width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,.55));
    animation: lp-float 6s ease-in-out infinite;
}

/* ── Benefits ──────────────────────────────────────────────── */
.lp-benefits {
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
}
.lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.lp-card {
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.lp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), rgba(249,174,0,0));
    opacity: 0;
    transition: opacity .2s ease;
}
.lp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.13);
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.lp-card:hover::before { opacity: 1; }
.lp-card-icon {
    width: 44px; height: 44px;
    background: rgba(249,174,0,.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    margin-bottom: 20px;
    transition: background .2s ease;
}
.lp-card:hover .lp-card-icon { background: rgba(249,174,0,.14); }
.lp-card-icon svg { width: 22px; height: 22px; }
.lp-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.lp-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ── CTA Band ──────────────────────────────────────────────── */
.lp-cta-band {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 72px 0;
    text-align: center;
}
.lp-cta-band .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.lp-cta-band h2 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
}
.lp-cta-band p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.65;
}

/* ── Forms Section ─────────────────────────────────────────── */
.lp-forms {
    padding: 80px 0;
}
.lp-forms-header {
    text-align: center;
    margin-bottom: 52px;
}
.lp-forms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.lp-form-wrap {
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}
.lp-form-wrap > h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}
.lp-form-sub {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* ── Form Fields ───────────────────────────────────────────── */
.lp-field {
    margin-bottom: 18px;
}
.lp-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 7px;
}
.lp-input,
.lp-select,
.lp-textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color .2s ease, background .2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.lp-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%238f9bb3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.lp-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}
.lp-input:focus,
.lp-select:focus,
.lp-textarea:focus {
    border-color: rgba(249,174,0,.5);
    background: rgba(249,174,0,.03);
}
input[type="date"].lp-input {
    color-scheme: dark;
}
.lp-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}
.lp-phone-row {
    display: flex;
}
.lp-phone-prefix {
    background: rgba(249,174,0,.08);
    border: 1px solid rgba(255,255,255,.1);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-orange);
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.lp-phone-row .lp-input {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.lp-date-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}
.lp-date-err {
    display: none;
    font-size: 12px;
    color: #ff6b6b;
    margin-top: 5px;
}
.lp-submit {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
}
.lp-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.lp-msg {
    display: none;
    margin-top: 14px;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    line-height: 1.5;
}
.lp-msg.ok {
    display: block;
    background: rgba(249,174,0,.08);
    border: 1px solid rgba(249,174,0,.25);
    color: var(--accent-orange);
}
.lp-msg.err {
    display: block;
    background: rgba(220,50,50,.08);
    border: 1px solid rgba(220,50,50,.22);
    color: #ff6b6b;
}

/* ── Footer ────────────────────────────────────────────────── */
.lp-footer {
    background: #111;
    border-top: 1px solid var(--border-subtle);
    padding: 30px 0;
}
.lp-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.lp-footer p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}
.lp-footer-links {
    display: flex;
    gap: 24px;
}
.lp-footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}
.lp-footer-links a:hover { color: var(--accent-orange); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .lp-hero .container {
        flex-direction: column-reverse;
        gap: 32px;
        padding-top: 48px;
        text-align: center;
    }
    .lp-hero-text > p { margin-left: auto; margin-right: auto; }
    .lp-hero-actions { justify-content: center; }
    .lp-hero-image img { max-height: 260px; animation: none; }
}
@media (max-width: 768px) {
    .lp-benefits-grid { grid-template-columns: 1fr; }
    .lp-forms-grid    { grid-template-columns: 1fr; }
    .lp-form-wrap     { padding: 28px 22px; }
}
@media (max-width: 480px) {
    .lp-hero-actions { flex-direction: column; }
    .lp-hero-actions .btn { width: 100%; justify-content: center; }
    .lp-cta-band { padding: 52px 0; }
    .lp-footer .container { flex-direction: column; text-align: center; }
}
