/* ================= VARIABLES ESPECÍFICAS RXART ================= */
:root {
    --bg-page: #f4f5f7;
    --accent-purple: #4C4A88;
    --accent-purple-soft: rgba(76, 74, 136, 0.12);
    --text-rx-main: #111827;
    --text-rx-muted: #6b7280;
    --border-subtle: #e5e7eb;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.18);
    --radius-pill: 999px;
    
    /* Configuración Navbar Global para esta página */
    --header-text-initial: #000000 !important;
}

/* Navbar Scroll Styles */
#main-header.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    backdrop-filter: none !important;
}

/* Forzar textos negros en el header en esta página */
#main-header .logo-text,
#main-header .nav-link,
#main-header .action-btn { color: #000000 !important; }
#main-header .nav-link:hover, 
#main-header .action-btn:hover { color: var(--primary-orange) !important; }

/* ================= LAYOUT ================= */
.rxart-page-wrapper {
    min-height: 100vh;
    padding-top: 130px; /* Espacio para el navbar fijo */
    padding-bottom: 80px;
    background: radial-gradient(circle at top left, #f9fafb 0, #e5e7eb 40%, #d1d5db 90%);
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ================= HEADER PRODUCTO ================= */
.product-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px; gap: 16px; flex-wrap: wrap;
}

.brand-block { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text span:first-child {
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-rx-muted); font-weight: 500;
}
.brand-text span:last-child { font-size: 15px; font-weight: 600; color: var(--text-rx-main); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    border-radius: var(--radius-pill); padding: 6px 12px; font-size: 12px;
    font-weight: 500; background: rgba(76, 74, 136, 0.08); color: #3b3a70;
    display: inline-flex; align-items: center; gap: 6px;
}
.chip-primary { background: rgba(76, 74, 136, 0.15); color: #2e2c5d; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-purple); }

/* ================= HERO ================= */
.hero {
    background: linear-gradient(135deg, #f9fafb 0, #e5e7eb 45%, #d1d5db 100%);
    border-radius: 28px; padding: 40px; box-shadow: var(--shadow-soft);
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
    margin-bottom: 40px; position: relative; overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 120% -20%, rgba(76, 74, 136, 0.2), transparent 60%);
    pointer-events: none;
}

.hero-kicker {
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px;
    border-radius: var(--radius-pill); background: rgba(15, 23, 42, 0.03); margin-bottom: 10px;
}
.hero-kicker span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--text-rx-muted); }
.hero-tag { padding: 2px 8px; border-radius: 999px; background: var(--accent-purple-soft); font-size: 10px; color: var(--accent-purple); }

.hero-title { font-size: 2.2rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 15px; color: #111; }
.hero-title span { color: var(--accent-purple); }
.hero-subtitle { font-size: 1rem; color: var(--text-rx-muted); margin-bottom: 24px; line-height: 1.5; }

/* Pills en Hero */
.hero-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-pill {
    font-size: 11px; padding: 6px 12px; border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.5); background: rgba(249, 250, 251, 0.6);
    display: inline-flex; align-items: center; gap: 6px; color: #374151;
}
.hero-pill-icon {
    width: 18px; height: 18px; border-radius: 50%; background: rgba(76, 74, 136, 0.15);
    display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--accent-purple);
}

.hero-paragraph { font-size: 0.9rem; color: #111827; margin-bottom: 10px; line-height: 1.6; }

/* Botón Descarga */
.btn-download {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
    border-radius: 999px; background: var(--accent-purple); color: #f9fafb;
    font-size: 0.9rem; font-weight: 600; text-decoration: none;
    box-shadow: 0 12px 25px rgba(76, 74, 136, 0.45); transition: 0.3s; margin-top: 20px;
}
.btn-download:hover { transform: translateY(-2px); background: #3e3b70; }

/* ================= DISPOSITIVO ILUSTRADO ================= */
.hero-right { display: flex; align-items: center; justify-content: center; }
.hero-device {
    background: radial-gradient(circle at 10% 0, #111827, #020617);
    border-radius: 24px; padding: 16px 16px 22px; width: 100%; max-width: 360px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7); position: relative; overflow: hidden;
}
.device-topbar { display: flex; justify-content: space-between; color: #9ca3af; font-size: 11px; margin-bottom: 10px; }
.device-notch { width: 70px; height: 5px; border-radius: 999px; background: rgba(31, 41, 55, 0.9); margin: 0 auto 12px; }

.device-screen {
    background: radial-gradient(circle at 20% 0, #1e2036, #020617);
    border-radius: 18px; padding: 20px; position: relative; border: 1px solid rgba(148, 163, 184, 0.55);
}
.screen-tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: #9ca3af; margin-bottom: 12px; }

/* Escudo */
.shield-badge {
    width: 80px; height: 80px; border-radius: 24px; margin: 0 auto 15px;
    background: radial-gradient(circle at 30% 0, var(--accent-purple), #111827);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 18px 45px rgba(76, 74, 136, 0.7); position: relative;
}
.shield-badge::after { content: ""; position: absolute; inset: 8px; border-radius: 20px; border: 1px solid rgba(191, 219, 254, 0.35); }
.shield-icon {
    width: 40px; height: 40px; border-radius: 16px; background: radial-gradient(circle at 20% 0, #f3f2ff, #8c89d8);
    display: flex; align-items: center; justify-content: center; color: #111827; font-size: 20px;
}

.screen-title { font-size: 14px; font-weight: 600; color: #e5e7eb; margin-bottom: 8px; text-align: center; }
.screen-subtitle { font-size: 11px; color: #9ca3af; margin-bottom: 15px; text-align: center; line-height: 1.4; }

.status-row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #e5e7eb; margin-bottom: 10px; }
.status-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px;
    border-radius: 999px; background: rgba(22, 163, 74, 0.18); color: #bbf7d0; font-size: 10px;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25); }

.screen-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric-card {
    border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.6);
    background: radial-gradient(circle at 0 -20%, rgba(76, 74, 136, 0.3), transparent 60%); padding: 8px;
}
.metric-label { font-size: 9px; text-transform: uppercase; color: #9ca3af; margin-bottom: 3px; }
.metric-value { font-size: 11px; font-weight: 600; color: #e5e7eb; }

.device-base { margin-top: 10px; height: 12px; border-radius: 999px; background: #020617; position: relative; }
.base-shadow { margin: 3px auto 0; width: 80%; height: 10px; border-radius: 999px; background: rgba(15, 23, 42, 0.6); filter: blur(3px); }

/* ================= SECCIÓN CARACTERÍSTICAS ================= */
.section {
    background: #f9fafb; border-radius: 24px; border: 1px solid var(--border-subtle);
    padding: 30px; margin-bottom: 30px; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 30px; flex-wrap: wrap; }
.section-kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--text-rx-muted); }
.section-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #111; }
.section-title span { color: var(--accent-purple); }
.section-subtitle { font-size: 0.95rem; color: var(--text-rx-muted); max-width: 600px; margin-top: 8px; }

.section-badge {
    padding: 6px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 500;
    background: var(--accent-purple); color: #e5e7eb; display: inline-flex; align-items: center; gap: 6px;
}
.section-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #bbf7d0; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: #fff; border-radius: 18px; border: 1px solid var(--border-subtle);
    padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.feature-icon {
    width: 32px; height: 32px; border-radius: 12px; background: rgba(76, 74, 136, 0.12);
    display: flex; align-items: center; justify-content: center; color: var(--accent-purple); margin-bottom: 5px;
}
.feature-title { font-size: 1rem; font-weight: 600; color: #111; }
.feature-text { font-size: 0.85rem; color: var(--text-rx-muted); line-height: 1.4; }

/* ================= BANDA OSCURA ================= */
.band-dark {
    background: linear-gradient(135deg, #020617, #0b1020); border-radius: 22px;
    padding: 40px; margin-bottom: 30px; color: #e5e7eb;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8); position: relative; overflow: hidden;
}
.band-dark::before {
    content: ""; position: absolute; inset: -40%;
    background: radial-gradient(circle at 110% -10%, rgba(76, 74, 136, 0.4), transparent 60%);
    opacity: 0.9; pointer-events: none;
}
.band-dark-inner { position: relative; z-index: 1; }
.band-header { margin-bottom: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.band-tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #9ca3af; margin-bottom: 5px; }
.band-title { font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; }
.band-subtitle { font-size: 0.95rem; color: #9ca3af; line-height: 1.5; }

.band-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.band-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
    background: rgba(15, 23, 42, 0.6); border-radius: 999px; font-size: 12px;
    margin-bottom: 15px; border: 1px solid rgba(148, 163, 184, 0.6); color: #e5e7eb;
}
.band-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-purple); }
.band-text { font-size: 0.9rem; color: #d1d5db; line-height: 1.6; margin-bottom: 10px; }
.band-col-title { font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: #fff; }
.band-list { padding-left: 18px; font-size: 0.9rem; color: #d1d5db; }
.band-list li { margin-bottom: 5px; }

/* ================= SECCIÓN FINAL ================= */
.section-final {
    background: #f9fafb; border-radius: 24px; border: 1px solid var(--border-subtle);
    padding: 30px; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.final-block {
    background: #fff; border-radius: 18px; border: 1px solid var(--border-subtle);
    padding: 20px; font-size: 0.9rem; color: var(--text-rx-muted);
}
.final-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--text-rx-main); }

/* ================= ANIMACIONES ================= */
.fade-section { opacity: 0; transform: translateY(20px); transition: 0.6s ease; }
.fade-section.visible { opacity: 1; transform: translateY(0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
    .hero, .features-grid, .band-header, .band-grid, .final-grid { grid-template-columns: 1fr; }
    .hero-right { order: -1; margin-bottom: 30px; }
    .hero-device { margin: 0 auto; }
}