/* ============================================================
   landing.css — Diseño SaaS moderno para PANEL_CLIENT
   Paleta: violeta-cyan glow, fondo claro, acentos por feature.
   ============================================================ */

:root{
    --pc-bg: #0a0d1a;
    --pc-bg-alt: #11152a;
    --pc-surface: #161b33;
    --pc-border: #242a47;
    --pc-text: #f0f2fa;
    --pc-text-2: #a8b0cc;
    --pc-text-3: #6e7798;
    --pc-primary: #6b5cff;
    --pc-primary-2: #8e7bff;
    --pc-accent: #00d4ff;
    --pc-pink: #ff5b8a;
    --pc-orange: #ff8c42;
    --pc-green: #2ed8a7;
    --pc-blue: #4e8cff;
    --pc-purple: #a978ff;
    --pc-cyan: #1ecbe1;

    --pc-sidebar-w: 230px;
    --pc-nav-h: 70px;

    --pc-radius: 14px;
    --pc-radius-sm: 10px;
    --pc-radius-lg: 22px;

    --pc-shadow-sm: 0 2px 8px rgba(0,0,0,.3);
    --pc-shadow: 0 8px 30px rgba(0,0,0,.4);
    --pc-shadow-lg: 0 20px 60px rgba(107,92,255,.35);
    --pc-shadow-glow: 0 0 60px rgba(107,92,255,.4);
}

/* ==================== RESET BASE ==================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 80px; }
body{
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--pc-text);
    background: var(--pc-bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

h1, h2, h3, h4, h5{
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    line-height: 1.2;
    margin: 0 0 .5rem;
    letter-spacing: -.015em;
    color: var(--pc-text);
}
h1{ font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2{ font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3{ font-size: 1.35rem; font-weight: 700; }
p{ margin: 0 0 1rem; color: var(--pc-text-2); }

.grad{
    background: linear-gradient(120deg, var(--pc-primary) 0%, var(--pc-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== LAYOUT ==================== */
.pc-container{
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.pc-main{
    margin-left: var(--pc-sidebar-w);
    padding-top: var(--pc-nav-h);
}
.pc-section{
    padding: 5rem 0;
    position: relative;
}
.pc-section-head{
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}
.pc-section-head .pc-eyebrow{ margin: 0 auto .9rem; }
.pc-section-head p{ font-size: 1.05rem; }

/* ==================== EYEBROW ==================== */
.pc-eyebrow{
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .35rem .85rem;
    background: rgba(107,92,255,.08);
    color: var(--pc-primary);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.pc-eyebrow .dot{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--pc-primary);
    box-shadow: 0 0 0 4px rgba(107,92,255,.18);
    animation: pcPulse 2s infinite;
}
.pc-eyebrow-light{
    background: rgba(255,255,255,.18);
    color: #fff;
}
.pc-eyebrow-light .dot{ background:#fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
@keyframes pcPulse{
    0%, 100%{ transform: scale(1); opacity: 1; }
    50%     { transform: scale(1.3); opacity: .6; }
}

/* ==================== BUTTONS ==================== */
.pc-btn{
    display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem;
    padding: .75rem 1.4rem;
    border-radius: var(--pc-radius);
    font-weight: 600;
    font-size: .92rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
    text-decoration: none;
}
.pc-btn-lg{ padding: .95rem 1.7rem; font-size: 1rem; }
.pc-btn-block{ display: flex; width: 100%; }

.pc-btn-primary{
    background: linear-gradient(120deg, var(--pc-primary), var(--pc-primary-2));
    color: #fff;
    box-shadow: 0 6px 20px rgba(107,92,255,.35);
}
.pc-btn-primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107,92,255,.5);
}
.pc-btn-outline{
    background: transparent;
    border-color: var(--pc-border);
    color: var(--pc-text);
}
.pc-btn-outline:hover{
    border-color: var(--pc-primary);
    color: var(--pc-primary);
    background: rgba(107,92,255,.05);
}
.pc-btn-ghost{
    background: transparent;
    color: var(--pc-text-2);
}
.pc-btn-ghost:hover{ color: var(--pc-primary); background: rgba(107,92,255,.06); }
.pc-btn-white{
    background: #fff;
    color: var(--pc-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.pc-btn-white:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.22); }

/* ==================== SIDEBAR ==================== */
.pc-sidebar{
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: var(--pc-sidebar-w);
    background: var(--pc-surface);
    border-right: 1px solid var(--pc-border);
    z-index: 50;
    display: flex; flex-direction: column;
    padding: 1.4rem 1rem;
    transition: transform .3s ease;
}
.pc-sb-brand{
    display: flex; align-items: center; gap: .7rem;
    padding: .5rem;
    margin-bottom: 1.6rem;
}
.pc-sb-logo{
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--pc-primary), var(--pc-accent));
    color: #fff;
    border-radius: 10px;
    display: grid; place-items: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(107,92,255,.35);
}
.pc-sb-name{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Logo subido como imagen — se adapta al contenedor manteniendo proporcion */
.pc-brand-img{
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.pc-brand-img-sb{ max-height: 48px; max-width: 170px; }
.pc-brand-img-nav{ max-height: 38px; max-width: 140px; }

.pc-sb-nav{
    display: flex; flex-direction: column; gap: .25rem;
    flex: 1;
}
.pc-sb-link{
    display: flex; align-items: center; gap: .8rem;
    padding: .65rem .8rem;
    border-radius: 10px;
    color: var(--pc-text-2);
    font-weight: 500;
    font-size: .92rem;
    transition: all .15s ease;
    position: relative;
}
.pc-sb-link i{
    width: 22px; text-align: center; font-size: .95rem;
    color: var(--pc-text-3);
    transition: color .15s ease;
}
.pc-sb-link:hover{
    background: rgba(107,92,255,.06);
    color: var(--pc-text);
}
.pc-sb-link:hover i{ color: var(--pc-primary); }
.pc-sb-link.active{
    background: linear-gradient(120deg, rgba(107,92,255,.1), rgba(0,212,255,.08));
    color: var(--pc-primary);
    font-weight: 600;
}
.pc-sb-link.active i{ color: var(--pc-primary); }
.pc-sb-link.active::before{
    content:'';
    position: absolute; left: -1rem; top: 50%; transform: translateY(-50%);
    width: 3px; height: 60%;
    background: linear-gradient(to bottom, var(--pc-primary), var(--pc-accent));
    border-radius: 0 3px 3px 0;
}

.pc-sb-foot{
    padding: .5rem;
}
.pc-sb-loginbtn{
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem .9rem;
    border: 1.5px solid var(--pc-border);
    border-radius: 10px;
    color: var(--pc-text-2);
    font-weight: 600;
    font-size: .88rem;
    transition: all .15s ease;
}
.pc-sb-loginbtn:hover{
    border-color: var(--pc-primary);
    color: var(--pc-primary);
    background: rgba(107,92,255,.05);
}

/* ==================== NAVBAR ==================== */
.pc-navbar{
    position: fixed;
    top: 0; left: var(--pc-sidebar-w); right: 0;
    height: var(--pc-nav-h);
    background: rgba(10,13,26,.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--pc-border);
    z-index: 40;
    display: flex; align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
}
.pc-burger{
    display: none;
    width: 40px; height: 40px;
    background: transparent;
    border: 1.5px solid var(--pc-border);
    border-radius: 10px;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 4px;
    cursor: pointer;
}
.pc-burger span{
    width: 18px; height: 2px;
    background: var(--pc-text);
    border-radius: 2px;
    transition: all .2s ease;
}
.pc-nav-brand{
    display: none;
    align-items: center; gap: .5rem;
    font-weight: 700;
}
.pc-nav-logo{
    width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--pc-primary), var(--pc-accent));
    color: #fff; border-radius: 8px;
    display: grid; place-items: center;
    font-size: .85rem;
}
.pc-nav-spacer{ flex: 1; }
.pc-nav-actions{
    display: flex; align-items: center; gap: .5rem;
}

/* ==================== HERO ==================== */
.pc-hero{
    padding-top: 5rem; padding-bottom: 6rem;
    overflow: hidden;
}
.pc-hero-bg{
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(0,212,255,.12), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(107,92,255,.12), transparent 50%);
    z-index: 0;
    pointer-events: none;
}
.pc-hero-blob{
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    pointer-events: none;
    z-index: 0;
}
.pc-blob-1{ width: 400px; height: 400px; background: var(--pc-primary); top: -100px; right: 10%; }
.pc-blob-2{ width: 350px; height: 350px; background: var(--pc-accent); bottom: -100px; left: 10%; }

.pc-hero-grid{
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.pc-hero-text .pc-eyebrow{ margin-bottom: 1.4rem; }
.pc-hero-title{ margin-bottom: 1.2rem; }
.pc-hero-sub{
    font-size: 1.15rem;
    color: var(--pc-text-2);
    max-width: 540px;
    margin-bottom: 2rem;
}
.pc-hero-cta{
    display: flex; gap: .75rem; flex-wrap: wrap;
    margin-bottom: 3rem;
}
.pc-hero-stats{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--pc-border);
}
.pc-stat-n{
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem; font-weight: 800;
    background: linear-gradient(120deg, var(--pc-primary), var(--pc-accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.pc-stat-l{
    font-size: .8rem;
    color: var(--pc-text-3);
    margin-top: .25rem;
}

.pc-hero-shot{ position: relative; }
.pc-shot-glow{
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(107,92,255,.35), transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

/* ==================== SHOT FRAME ==================== */
/* Sin aspect-ratio en el frame: la imagen real define la altura.
   Asi se ve completa, sin crop. Solo el placeholder fuerza ratio
   (porque no tiene contenido propio). */
.pc-shot-frame{
    position: relative;
    background: var(--pc-surface);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius-lg);
    box-shadow: var(--pc-shadow-lg);
    overflow: hidden;
    z-index: 1;
    line-height: 0;   /* evita gap fantasma debajo del img */
}
.pc-shot-frame img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.pc-shot-placeholder{
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .65rem;
    background: linear-gradient(135deg, rgba(107,92,255,.15), rgba(0,212,255,.08));
    color: var(--pc-text-3);
    text-align: center;
    line-height: 1.5;
}
.pc-shot-placeholder i{ font-size: 2.8rem; opacity: .4; }
.pc-shot-placeholder p{ margin: 0; font-size: .9rem; color: var(--pc-text-3); }
.pc-shot-placeholder small{ font-size: .75rem; opacity: .7; }
.pc-shot-sm{ box-shadow: var(--pc-shadow); }
.pc-shot-sm .pc-shot-placeholder{ aspect-ratio: 4/3; }

/* ==================== FEATURES ==================== */
.pc-features{ background: var(--pc-bg-alt); }
.pc-features-list{
    display: flex; flex-direction: column; gap: 5rem;
}
.pc-feature{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.pc-f-rtl .pc-f-info{ order: 2; }
.pc-f-rtl .pc-f-shot{ order: 1; }

.pc-f-icon{
    display: inline-grid; place-items: center;
    width: 56px; height: 56px;
    border-radius: 16px;
    color: #fff; font-size: 1.4rem;
    margin-bottom: 1.2rem;
}
.pc-c-orange { background: linear-gradient(135deg, #ff8c42, #ffb172); box-shadow: 0 6px 16px rgba(255,140,66,.35); color: #fff; }
.pc-c-green  { background: linear-gradient(135deg, #2ed8a7, #5be5c1); box-shadow: 0 6px 16px rgba(46,216,167,.35); color: #fff; }
.pc-c-blue   { background: linear-gradient(135deg, #4e8cff, #7fa9ff); box-shadow: 0 6px 16px rgba(78,140,255,.35); color: #fff; }
.pc-c-purple { background: linear-gradient(135deg, #a978ff, #c9a1ff); box-shadow: 0 6px 16px rgba(169,120,255,.35); color: #fff; }
.pc-c-pink   { background: linear-gradient(135deg, #ff5b8a, #ff8aa8); box-shadow: 0 6px 16px rgba(255,91,138,.35); color: #fff; }
.pc-c-cyan   { background: linear-gradient(135deg, #1ecbe1, #6ee0ee); box-shadow: 0 6px 16px rgba(30,203,225,.35); color: #fff; }

.pc-feature h3{ margin-bottom: .9rem; font-size: 1.6rem; }
.pc-feature p{ font-size: 1.02rem; margin-bottom: 1.25rem; }
.pc-f-bullets{
    list-style: none;
    padding: 0; margin: 0;
    display: grid; gap: .55rem;
}
.pc-f-bullets li{
    display: flex; align-items: center; gap: .6rem;
    color: var(--pc-text);
    font-size: .92rem;
}
.pc-f-bullets li i{
    width: 22px; height: 22px;
    background: rgba(46,216,167,.12);
    color: var(--pc-green);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: .65rem;
    flex-shrink: 0;
}

/* ==================== PRICING ==================== */
.pc-pricing{ background: var(--pc-bg); }
.pc-plans{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.pc-plan{
    position: relative;
    background: var(--pc-surface);
    border: 1.5px solid var(--pc-border);
    border-radius: var(--pc-radius-lg);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--pc-shadow-sm);
    display: flex; flex-direction: column;
    transition: all .25s ease;
}
.pc-plan:hover{
    transform: translateY(-4px);
    box-shadow: var(--pc-shadow);
}
.pc-plan-hl{
    border-color: transparent;
    background: linear-gradient(var(--pc-surface), var(--pc-surface)) padding-box,
                linear-gradient(135deg, var(--pc-primary), var(--pc-accent)) border-box;
    border: 2px solid transparent;
    box-shadow: var(--pc-shadow-lg);
    transform: scale(1.03);
}
.pc-plan-hl:hover{ transform: scale(1.03) translateY(-4px); }
.pc-plan-badge{
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(120deg, var(--pc-primary), var(--pc-accent));
    color: #fff;
    padding: .35rem 1rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(107,92,255,.4);
    display: inline-flex; align-items: center; gap: .3rem;
}
.pc-plan-name{ font-size: 1.3rem; margin-bottom: .35rem; }
.pc-plan-desc{ font-size: .88rem; margin-bottom: 1.25rem; min-height: 2.6em; }
.pc-plan-price{
    display: flex; align-items: baseline; gap: .15rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--pc-border);
}
.pc-plan-currency{ font-size: 1.4rem; font-weight: 700; color: var(--pc-text-2); }
.pc-plan-amount{
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem; font-weight: 800; line-height: 1;
    color: var(--pc-text);
}
.pc-plan-period{ font-size: .85rem; color: var(--pc-text-3); margin-left: .35rem; }
.pc-plan-features{
    list-style: none;
    padding: 0; margin: 0 0 1.8rem;
    display: grid; gap: .7rem;
    flex: 1;
}
.pc-plan-features li{
    display: flex; align-items: flex-start; gap: .6rem;
    font-size: .9rem;
    color: var(--pc-text-2);
}
.pc-plan-features i{
    color: var(--pc-primary);
    font-size: 1rem;
    margin-top: 1px;
    flex-shrink: 0;
}
.pc-plans-note{
    text-align: center;
    color: var(--pc-text-3);
    font-size: .85rem;
    margin-top: 2.5rem;
}
.pc-plans-note i{ color: var(--pc-primary); margin-right: .35rem; }

/* ==================== DEMO ==================== */
.pc-demo{ padding: 4rem 0; }
.pc-demo-card{
    background: linear-gradient(135deg, var(--pc-primary), var(--pc-accent));
    border-radius: var(--pc-radius-lg);
    padding: 3rem;
    color: #fff;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: var(--pc-shadow-lg);
    position: relative;
    overflow: hidden;
}
.pc-demo-card::before{
    content:'';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(255,255,255,.2), transparent 50%);
    pointer-events: none;
}
.pc-demo-left{ position: relative; z-index: 1; }
.pc-demo-left h2{ color: #fff; margin-bottom: .9rem; }
.pc-demo-left p{ color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.6rem; }
.pc-demo-left .pc-eyebrow{ margin-bottom: 1rem; }
.pc-demo-creds{
    display: flex; gap: 1rem;
    margin-bottom: 1.8rem;
}
.pc-demo-creds > div{
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    padding: .8rem 1.1rem;
    backdrop-filter: blur(8px);
}
.pc-demo-creds span{
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255,255,255,.7);
    margin-bottom: .15rem;
}
.pc-demo-creds b{
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
}

.pc-demo-right{ position: relative; z-index: 1; }
.pc-demo-monitor{
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    aspect-ratio: 4/3;
}
.pc-demo-monitor-bar{
    background: rgba(0,0,0,.15);
    padding: .6rem .8rem;
    display: flex; gap: .35rem;
}
.pc-demo-monitor-bar span{
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
}
.pc-demo-monitor-bar span:first-child{ background: #ff5b5b; }
.pc-demo-monitor-bar span:nth-child(2){ background: #ffb340; }
.pc-demo-monitor-bar span:nth-child(3){ background: #2ed8a7; }
.pc-demo-monitor-body{
    height: calc(100% - 30px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: rgba(255,255,255,.8);
    gap: .4rem;
}
.pc-demo-monitor-body i{ font-size: 3rem; opacity: .6; }
.pc-demo-monitor-body p{ margin: 0; color: rgba(255,255,255,.85); font-family: 'Space Grotesk', monospace; }

/* ==================== CONTACT ==================== */
.pc-contact{ background: var(--pc-bg-alt); }
.pc-contact-grid{
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}
.pc-contact-info{
    display: flex; flex-direction: column; gap: .9rem;
}
.pc-ci{
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--pc-bg);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    transition: all .15s ease;
}
.pc-ci:hover:not(.pc-ci-static){
    border-color: var(--pc-primary);
    transform: translateX(3px);
}
.pc-ci-icon{
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.pc-ci b{ display: block; font-size: .85rem; color: var(--pc-text); margin-bottom: .1rem; }
.pc-ci span{ font-size: .82rem; color: var(--pc-text-2); }

.pc-contact-form{
    background: var(--pc-bg);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius-lg);
    padding: 2rem;
}
.pc-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.pc-field{
    margin-bottom: 1.1rem;
    display: flex; flex-direction: column;
}
.pc-field label{
    font-size: .82rem;
    font-weight: 600;
    color: var(--pc-text);
    margin-bottom: .4rem;
}
.pc-field input,
.pc-field select,
.pc-field textarea{
    padding: .75rem .9rem;
    border: 1.5px solid var(--pc-border);
    border-radius: var(--pc-radius-sm);
    background: var(--pc-surface);
    font-family: inherit;
    font-size: .92rem;
    color: var(--pc-text);
    transition: all .15s ease;
    outline: none;
}
.pc-field input:focus,
.pc-field select:focus,
.pc-field textarea:focus{
    border-color: var(--pc-primary);
    box-shadow: 0 0 0 4px rgba(107,92,255,.12);
}
.pc-field textarea{ resize: vertical; min-height: 100px; }

.pc-form-note{
    margin: .8rem 0 0;
    font-size: .85rem;
    padding: .7rem .9rem;
    border-radius: var(--pc-radius-sm);
    text-align: center;
}
.pc-form-note.ok{ background: rgba(46,216,167,.12); color: #1ba577; }
.pc-form-note.err{ background: rgba(255,91,138,.12); color: #d63a6a; }

/* ==================== FOOTER ==================== */
.pc-footer{
    margin-left: var(--pc-sidebar-w);
    background: #06080f;
    color: rgba(255,255,255,.7);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--pc-border);
}
.pc-footer-grid{
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.pc-footer-brand p{
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    margin: 1rem 0 1.5rem;
}
.pc-fb-head{
    display: flex; align-items: center; gap: .7rem;
}
.pc-fb-head .pc-sb-name{ color: #fff; }
.pc-footer-social{
    display: flex; gap: .5rem;
}
.pc-footer-social a{
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    display: grid; place-items: center;
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    transition: all .15s ease;
}
.pc-footer-social a:hover{
    background: linear-gradient(135deg, var(--pc-primary), var(--pc-accent));
    color: #fff;
    transform: translateY(-2px);
}

.pc-footer-col h5{
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.pc-footer-col a{
    display: block;
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    padding: .3rem 0;
    transition: color .15s;
}
.pc-footer-col a:hover{ color: var(--pc-accent); }

.pc-footer-copy{
    padding-top: 2rem;
    text-align: center;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}

/* ==================== MOBILE BACKDROP ==================== */
.pc-backdrop{
    display: none;
    position: fixed; inset: 0;
    background: rgba(31,37,64,.5);
    backdrop-filter: blur(4px);
    z-index: 45;
    opacity: 0;
    transition: opacity .25s ease;
}
.pc-backdrop.show{ display: block; opacity: 1; }

/* ============================================================
   RESPONSIVE — Breakpoints: 1200 / 992 / 768 / 600 / 420
   ============================================================ */

/* ===== Tablet horizontal y desktop pequeño ===== */
@media (max-width: 1200px){
    :root{ --pc-sidebar-w: 200px; }
    .pc-hero-title{ font-size: clamp(2rem, 4.2vw, 3rem); }
    h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); }
}

/* ===== Tablet ===== */
@media (max-width: 992px){
    .pc-hero-grid,
    .pc-feature,
    .pc-contact-grid,
    .pc-demo-card{
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .pc-hero-text{ text-align: center; }
    .pc-hero-text .pc-eyebrow{ margin-left: auto; margin-right: auto; }
    .pc-hero-sub{ margin-left: auto; margin-right: auto; }
    .pc-hero-cta{ justify-content: center; }
    .pc-hero-shot{ max-width: 600px; margin: 0 auto; }
    .pc-f-rtl .pc-f-info,
    .pc-f-rtl .pc-f-shot{ order: initial; }
    .pc-f-info{ text-align: center; }
    .pc-f-icon{ margin-left: auto; margin-right: auto; display: flex; }
    .pc-f-bullets{ text-align: left; max-width: 360px; margin-left: auto; margin-right: auto; }
    .pc-f-shot{ max-width: 500px; margin: 0 auto; }
    .pc-plans{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 2rem; }
    .pc-plan-hl{ transform: none; }
    .pc-plan-hl:hover{ transform: translateY(-4px); }
    .pc-hero-stats{ grid-template-columns: repeat(2, 1fr); }
    .pc-footer-grid{ grid-template-columns: 1fr 1fr; }
}

/* ===== Mobile (sidebar oculto, hamburguesa) ===== */
@media (max-width: 768px){
    :root{ --pc-sidebar-w: 0px; --pc-nav-h: 60px; }
    html{ scroll-padding-top: 70px; }
    .pc-sidebar{
        transform: translateX(-100%);
        width: 280px; max-width: 85vw;
        box-shadow: 0 0 40px rgba(0,0,0,.5);
        z-index: 60;
    }
    .pc-sidebar.show{ transform: translateX(0); }
    .pc-navbar{ left: 0; padding: 0 .85rem; }
    .pc-main{ margin-left: 0; }
    .pc-footer{ margin-left: 0; padding: 3rem 0 1.5rem; }
    .pc-burger{ display: flex; }
    .pc-nav-brand{ display: flex; }
    .pc-container{ padding: 0 1.1rem; }

    .pc-section{ padding: 3rem 0; }
    .pc-section-head{ margin-bottom: 2rem; }
    .pc-section-head p{ font-size: .95rem; }

    /* Hero compacto */
    .pc-hero{ padding-top: 2.5rem; padding-bottom: 3.5rem; }
    .pc-hero-title{ font-size: clamp(1.7rem, 7vw, 2.4rem); margin-bottom: .85rem; }
    .pc-hero-sub{ font-size: .98rem; margin-bottom: 1.5rem; }
    .pc-hero-cta{ gap: .6rem; margin-bottom: 2rem; }
    .pc-hero-stats{
        gap: .6rem;
        padding-top: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-stat-n{ font-size: 1.3rem; }
    .pc-stat-l{ font-size: .72rem; }
    .pc-blob-1, .pc-blob-2{ width: 240px; height: 240px; opacity: .25; }

    /* Features */
    .pc-features-list{ gap: 3rem; }
    .pc-feature h3{ font-size: 1.3rem; }
    .pc-feature p{ font-size: .95rem; }
    .pc-f-icon{ width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 1rem; }
    .pc-f-bullets li{ font-size: .88rem; }

    /* Pricing */
    .pc-plan{ padding: 1.8rem 1.4rem; }
    .pc-plan-amount{ font-size: 2.5rem; }
    .pc-plan-desc{ min-height: 0; }

    /* Demo */
    .pc-demo{ padding: 3rem 0; }
    .pc-demo-card{ padding: 1.8rem 1.3rem; gap: 1.8rem; }
    .pc-demo-left h2{ font-size: 1.6rem; }
    .pc-demo-creds{ gap: .6rem; }
    .pc-demo-creds > div{ padding: .65rem .85rem; flex: 1; min-width: 0; }
    .pc-demo-creds b{ font-size: .95rem; word-break: break-all; }
    .pc-demo-monitor{ max-width: 340px; margin: 0 auto; }

    /* Contact */
    .pc-contact-form{ padding: 1.4rem 1.1rem; }
    .pc-row{ grid-template-columns: 1fr; gap: 0; }
    .pc-ci{ padding: .85rem 1rem; gap: .8rem; }
    .pc-ci-icon{ width: 40px; height: 40px; font-size: .95rem; }
    .pc-ci b{ font-size: .82rem; }
    .pc-ci span{ font-size: .78rem; word-break: break-all; }

    /* Footer */
    .pc-footer-grid{ grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
    .pc-footer-col h5{ margin-bottom: .6rem; }

    /* Touch targets minimos (44px) */
    .pc-btn{ min-height: 44px; }
    .pc-sb-link{ padding: .85rem .9rem; font-size: .95rem; }
}

/* ===== Mobile chico ===== */
@media (max-width: 600px){
    .pc-nav-actions .pc-btn-ghost{ display: none; }
    .pc-nav-actions .pc-btn-primary{
        padding: .6rem 1rem;
        font-size: .85rem;
    }
    .pc-nav-actions .pc-btn-primary i{ display: none; }
    .pc-nav-name{ font-size: 1rem; }

    .pc-hero-cta{ flex-direction: column; align-items: stretch; }
    .pc-hero-cta .pc-btn{ width: 100%; }

    .pc-shot-frame{ border-radius: 16px; }
    .pc-shot-placeholder{ aspect-ratio: 16/11; }
    .pc-shot-placeholder i{ font-size: 2.2rem; }
    .pc-shot-placeholder p{ font-size: .82rem; }

    .pc-plans-note{ font-size: .78rem; padding: 0 .5rem; }
}

/* ===== Mobile muy chico (iPhone SE etc) ===== */
@media (max-width: 420px){
    .pc-container{ padding: 0 .9rem; }
    .pc-navbar{ padding: 0 .7rem; gap: .5rem; }
    .pc-burger{ width: 38px; height: 38px; }
    .pc-nav-logo{ width: 28px; height: 28px; font-size: .78rem; }
    .pc-nav-name{ font-size: .92rem; }

    h2{ font-size: 1.5rem; }
    .pc-section{ padding: 2.5rem 0; }
    .pc-hero-stats{ grid-template-columns: 1fr 1fr; gap: .5rem; }
    .pc-stat-n{ font-size: 1.15rem; }

    .pc-demo-creds{ flex-direction: column; }
    .pc-demo-creds > div{ width: 100%; }
    .pc-demo-monitor{ max-width: 100%; aspect-ratio: 16/10; }

    .pc-plan{ padding: 1.5rem 1.2rem; }
    .pc-plan-amount{ font-size: 2.2rem; }
    .pc-plan-features li{ font-size: .85rem; }

    .pc-feature h3{ font-size: 1.15rem; }
    .pc-eyebrow{ font-size: .72rem; padding: .3rem .7rem; }
}

/* ===== Pantallas grandes — limita escalado ===== */
@media (min-width: 1440px){
    .pc-container{ max-width: 1280px; }
}

/* ===== Reduce motion (accesibilidad) ===== */
@media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
